This book is for busy programmers who want a succinct and yet readable guide to C# 3.0 and LINQ. C# 3.0 Pocket Reference tells you exactly what you need to know, without long introductions or bloated samples. Despite its conciseness, this book doesn't skimp on depth or detail, and embraces the conceptual challenges in learning C# 3.0 and LINQ. Tightly focused and highly practical, this pocket reference covers more ground than many of the big books on C#. C# 3.0 Pocket Reference includes plenty of illustrations and code examples to explain: <
Contents; C# 3.0 Pocket Reference; What's New in C# 3.0; A First C# Program; Compilation; Syntax; Identifiers and Keywords; Avoiding conflicts; Contextual keywords; Literals, Punctuators, and Operators; Comments; Type Basics; Predefined Type Examples; Custom Type Examples; Members of a type; Symmetry of predefined types and custom types; Constructors and instantiation; Instance versus static members; The public keyword; Conversions; Value Types Versus Reference Types; Value types; Reference types; Null; Storage overhead; Predefined Type Taxonomy; Numeric Types; Numeric Literals Numeric literal type inferenceNumeric suffixes; Numeric Conversions; Integral to integral conversions; Floating-point to floating-point conversions; Floating-point to integral conversions; Decimal conversions; Arithmetic Operators; Increment and Decrement Operators; Specialized Integral Operations; Integral division; Integral overflow; Integral arithmetic overflow check operators; Overflow checking for constant expressions; Bitwise operators; 8- and 16-Bit Integrals; Special Float and Double Values; double Versus decimal; Real Number Rounding Errors; Boolean Type and Operators Equality and Comparison OperatorsConditional Operators; Strings and Characters; Char Conversions; String Type; String concatenation; String comparisons; Searching within strings; Manipulating strings; Arrays; Default Element Initialization; Value types versus reference types; Multidimensional Arrays; Rectangular arrays; Jagged arrays; Simplified Array Initialization Expressions; Bounds Checking; Variables and Parameters; The Stack and the Heap; Stack; Heap; Definite Assignment; Default Values; Parameters; Passing arguments by value; The ref modifier; The out modifier Implications of passing by referenceThe params modifier; var: Implicitly Typed Local Variables (C# 3.0); Expressions and Operators; Primary Expressions; Void Expressions; Assignment Expressions; Operator Precedence and Associativity; Precedence; Left-associative operators; Right-associative operators; Operator Table; Statements; Declaration Statements; Local variables; Expression Statements; Selection Statements; The if statement; The else clause; Changing the flow of execution with braces; The switch statement; Iteration Statements; while and do-while loops; for loops; foreach loops Jump StatementsThe break statement; The continue statement; The goto statement; The return statement; The throw statement; Miscellaneous Statements; Namespaces; The using Directive; Rules Within a Namespace; Name scoping; Name hiding; The global:: qualifier; Repeated namespaces; Aliasing Types and Namespaces; Classes; Fields; Field initialization; Declaring multiple fields together; Methods; Overloading methods; Pass-by-value versus pass-by-reference; Instance Constructors; Overloading constructors; Implicit parameterless constructors; Constructor and field initialization order Nonpublic constructors
Includes index. Description based on print version record.