C♯ essentials /
Concise but thorough, this second edition of C# Essentials introduces the Microsoft C# programming language, including the Microsoft .NET Common Language Runtime (CLR) and .NET Framework Class Libraries (FCL) that support it. This book?s compact format and terse presentation of key concepts serve as...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Otros Autores: | , |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Sebastopol, CA :
O'Reilly,
©2002.
|
Edición: | 2nd ed. |
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Audience
- About This Book
- C# Online
- Conventions Used in This Book
- How to Contact Us
- Ben Albahari
- Peter Drayton
- Brad Merrill
- Introduction
- C# Language
- Common Language Runtime
- Framework Class Library
- A First C# Program
- C# Language Reference
- Identifiers
- Types
- Type Instances
- Example: Building and Using Types
- Implicit and Explicit Conversions
- Categories of Types
- Value types
- Reference types
- Pointer types
- Predefined Types
- Integral types
- Floating-point types
- decimal type
- char type
- bool type
- object type
- string type
- Types and MemoryMemory for value types
- Memory for reference types
- Value types and reference types side by side
- Unified Type System
- Simple types are value types
- Value types expand the set of simple types
- Boxing and unboxing value types
- Variables
- Definite Assignment
- Default Values
- Expressions and Operators
- Operator Precedence
- Arithmetic Overflow Check Operators
- Statements
- Expression Statements
- Declaration Statements
- Empty Statements
- Selection Statements
- if-else statement
- switch statement
- Loop Statements
- while loops
- do-while loops
- for loops
- foreach loops
- jump Statements
- Break statementcontinue statement
- goto statement
- return statement
- throw statement
- lock statement
- using statement
- Organizing Types
- Files
- Namespaces
- Nesting namespaces
- Using a type with its fully qualified name
- using keyword
- Aliasing types and namespaces
- Global namespace
- Inheritance
- Class Conversions
- as operator
- is operator
- Polymorphism
- Virtual Function Members
- Abstract Classes and Members
- Sealed Methods and Sealed Classes
- Hiding Inherited Members
- Versioning Virtual Function Members
- Access Modifiers
- Restrictions on Access Modifiers
- Classes and Structs
- Differences Between Classes and StructsInstance and Static Members
- Fields
- Constants
- Versioning with constants
- Properties
- Indexers
- Methods
- Signatures
- Passing arguments by value
- ref modifier
- out modifier
- params modifier
- Overloading methods
- Operators
- Implementing value equality
- Logically paired operators
- Custom implicit and explicit conversions
- Three-state logic operators
- Indirectly overloadable operators
- Instance Constructors
- Calling base class constructors
- Field initialization order
- Constructor access modifiers
- Static Constructors
- Base class constructor order
- Static field initialization orderNondeterminism of static constructor calls
- Self-Referencing
- this keyword
- base keyword
- Destructors and Finalizers
- Nested Types
- Interfaces
- Defining an Interface
- Implementing an Interface
- Using an Interface
- Extending an Interface
- Explicit Interface Implementation
- Reimplementing an Interface
- Interface Conversions
- Arrays
- Multidimensional Arrays
- Local and Field Array Declarations
- Array Length and Rank
- Bounds Checking
- Array Conversions
- Enums
- Enum Operators
- Enum Conversions
- Delegates
- Multicast Delegates
- Delegates Compared with Function Pointers.