Programming C#
The programming language C# was built with the future of application development in mind. Pursuing that vision, C#'s designers succeeded in creating a safe, simple, component-based, high-performance language that works effectively with Microsoft's .NET Framework. Now the favored languag...
Autor principal: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Beijing ; Sebastopol, California :
O'Reilly
2005.
|
Edición: | 4th ed |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009626935706719 |
Tabla de Contenidos:
- Programming C#, 4th Edition; What You Need To Use This Book; How the Book Is Organized; Part II, Programming with C#; Part III, The CLR and the .NET Framework; Who This Book Is For; C# 2.0 Versus C# 1.1; C# Versus Visual Basic .NET; C# Versus Java; C# Versus C and C++; Conventions Used in This Book; Support; We&d Like to Hear from You; Safari Enabled; Acknowledgments; I. The C# Language; 1.2. The .NET Framework; 1.3. Compilation and the MSIL; 1.4. The C# Language; 2. Getting Started: ""Hello World""; 2.1.2. Comments; 2.1.3. Console Applications; 2.1.4. Namespaces; 2.1.5. The Dot Operator (.)
- 2.1.6. The using Keyword2.1.7. Case Sensitivity; 2.1.8. The static Keyword; 2.2. Developing ""Hello World""; 2.2.2. Compiling and Running ""Hello World""; 2.3. Using the Visual Studio .NET Debugger; 3. C# Language Fundamentals; 3.1.1.2. Converting built-in types; 3.2. Variables and Constants; 3.2.2. Constants; 3.2.3. Enumerations; 3.2.4. Strings; 3.2.5. Identifiers; 3.3. Expressions; 3.4. Whitespace; 3.5. Statements; 3.5.2. Conditional Branching Statements; 3.5.2.2. Nested if statements; 3.5.2.3. switch statements: an alternative to nested ifs; 3.5.2.4. Switch on string statements
- 3.5.3. Iteration Statements3.5.3.2. The while loop; 3.5.3.3. The do...while loop; 3.5.3.4. The for loop; 3.5.3.5. The foreach statement; 3.5.3.6. The continue and break statements; 3.6. Operators; 3.6.2. Mathematical Operators; 3.6.2.2. The modulus operator (%) to return remainders; 3.6.3. Increment and Decrement Operators; 3.6.3.2. The prefix and postfix operators; 3.6.4. Relational Operators; 3.6.5. Use of Logical Operators with Conditionals; 3.6.6. Operator Precedence; 3.6.7. The Ternary Operator; 3.7. Preprocessor Directives; 3.7.2. Undefining Identifiers
- 3.7.3. #if, #elif, #else, and #endif3.7.4. #region; 4. Classes and Objects; 4.1.2. Method Arguments; 4.2. Creating Objects; 4.2.2. Initializers; 4.2.3. The ICloneable Interface; 4.2.4. The this Keyword; 4.3. Using Static Members; 4.3.2. Using Static Constructors; 4.3.3. Static Classes; 4.3.4. Using Static Fields; 4.4. Destroying Objects; 4.4.2. Destructors Versus Dispose; 4.4.3. Implementing the Close( ) Method; 4.4.4. The using Statement; 4.5. Passing Parameters; 4.5.2. Overcoming Definite Assignment with out Parameters; 4.6. Overloading Methods and Constructors
- 4.7. Encapsulating Data with Properties4.7.2. The set Accessor; 4.7.3. Property Access Modifiers; 4.8. readonly Fields; 5. Inheritance and Polymorphism; 5.2. Inheritance; 5.3. Polymorphism; 5.3.2. Creating Polymorphic Methods; 5.3.3. Calling Base Class Constructors; 5.3.4. Controlling Access; 5.3.5. Versioning with the new and override Keywords; 5.4. Abstract Classes; 5.4.2. Sealed Class; 5.5. The Root of All Classes: Object; 5.6. Boxing and Unboxing Types; 5.6.2. Unboxing Must Be Explicit; 5.7. Nesting Classes; 6. Operator Overloading; 6.2. Supporting Other .NET Languages
- 6.3. Creating Useful Operators