Programming C# 3.0
Written by popular author and .NET expert Jesse Liberty, this thoroughly updated tutorial for beginning to intermediate programmers covers the latest release of Microsoft's popular C# language (C# 3.0) and the newest .NET platform for developing Windows and web applications. Our bestselling P...
Autor principal: | |
---|---|
Otros Autores: | |
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Beijing ; Sebastopol, California :
O'Reilly
2007.
|
Edición: | 5th ed |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009626974606719 |
Tabla de Contenidos:
- Programming C# 3.0, 5th Edition; About This Book; What You Need to Use This Book; How This Book Is Organized; Part II C# and Data; Part III Programming with C#; Part IV The CLR and the .NET Framework; Who This Book Is For; Conventions Used in This Book; Support; We&d Like to Hear from You; Using Code Examples; Safari® Books Online; Acknowledgments; From Donald Xie; Dedications; From Donald Xie; I. The C# Language; The C# Language; C# Features; The .NET Platform; 2. Getting Started: ""Hello World""; Comments; Console Applications; Namespaces; The Dot Operator (.); The using Directive
- Case SensitivityThe static Keyword; Developing ""Hello World""; Compiling and Running ""Hello World""; Using the Visual Studio 2008 Debugger; 3. C# Language Fundamentals; Converting built-in types; Variables and Constants; Constants; Enumerations; Strings; Identifiers; Whitespace; Statements; Conditional Branching Statements; Nested if statements; switch statements: an alternative to nested ifs; Switch on string statements; Iteration Statements; The while loop; The do...while loop; The for loop; The foreach statement; The continue and break statements; Operators; Mathematical Operators
- The modulus operator (%) to return remaindersIncrement and Decrement Operators; The prefix and postfix operators; Relational Operators; Use of Logical Operators with Conditionals; Operator Precedence; The Ternary Operator; Preprocessor Directives; Undefining Identifiers; #if, #elif, #else, and #endif; 4. Classes and Objects; Method Arguments; Creating Objects; Initializers; Object Initializer; The this Keyword; Using Static Members; Using Static Fields; Destroying Objects; Implementing the Close( ) Method; The using Statement; Passing Parameters
- Overcoming Definite Assignment with ""out"" ParametersOverloading Methods and Constructors; Encapsulating Data with Properties; The set Accessor; Property Access Modifiers; Automatic Properties; readonly Fields; 5. Inheritance and Polymorphism; Inheritance; Polymorphism; Creating Polymorphic Methods; Calling Base Class Constructors; Controlling Access; Versioning with the new and override Keywords; Abstract Classes; Sealed Class; The Root of All Types: Object; Nesting Classes; 6. Operator Overloading; Supporting Other .NET Languages; Creating Useful Operators; Logical Pairs
- The Equality OperatorConversion Operators; Putting Operators to Work; 7. Structs; Creating Structs; 8. Interfaces; Extending Interfaces; Combining Interfaces; Polymorphism with Interfaces; Interface Versus Abstract Class; Overriding Interface Implementations; Explicit Interface Implementation; Member Hiding; 9. Arrays, Indexers, and Collections; Understanding Default Values; Accessing Array Elements; The foreach Statement; The params Keyword; Multidimensional Arrays; Jagged arrays; Array Bounds; Array Conversions; Sorting Arrays; Indexers; Indexing on Other Values; Collection Interfaces
- Constraints