Description |
1 online resource (xii, 202 pages) |
Contents |
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 |
Summary |
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 a roadmap to the online documentation included with the Microsoft .NET Framework SDK; the many examples provide much-needed context. This new edition has been updated to cover the final release of the C# language. In addition to overviews of C#, the CLR, and the FCL, this new e |
Bibliography |
Includes bibliographical references (pages viii-ix) and index |
Notes |
Master and use copy. Digital master created according to Benchmark for Faithful Digital Reproductions of Monographs and Serials, Version 1. Digital Library Federation, December 2002. http://purl.oclc.org/DLF/benchrepro0212 MiAaHDL |
|
Copyright © O'Reilly Media, Incorporated 2002 |
|
Print version record |
|
digitized 2010 HathiTrust Digital Library committed to preserve pda MiAaHDL |
SUBJECT |
Microsoft .NET Framework
|
|
Microsoft .NET Framework fast |
Subject |
C# (Computer program language)
|
|
COMPUTERS -- Programming Languages -- C♯
|
|
COMPUTERS -- Programming Languages -- Java.
|
|
COMPUTERS -- Programming Languages -- Pascal.
|
|
C# (Computer program language)
|
Form |
Electronic book
|
Author |
Drayton, Peter
|
|
Merrill, Brad
|
LC no. |
2002514498 |
ISBN |
9781449391478 |
|
1449391478 |
|
9781449390839 |
|
1449390838 |
|