Share
Ben Albahari, Joseph Albahari
C sharp 3.0 Pocket Reference - Instant Help for C sharp 3.0 Programmers
English · Paperback / Softback
Description
This book is for busy programmers who want a succinct and yet readable guide to C sharp 3.0 and LINQ. C sharp 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 sharp 3.0 and LINQ. Tightly focused and highly practical, this pocket reference covers more ground than many of the big books on C sharp. The Pocket Reference includes plenty of illustrations and code examples to explain: Features new to C sharp 3.0, such as lambda expressions, anonymous types, automatic properties, and more All aspects of C sharp syntax, predefined types, expressions, and operators Creating classes, structs, delegates and events, enums, generics and constraints, exception handling, and iterators The subtleties of boxing, operating overloading, delegate covariance, extension method resolution, interface reimplementation, nullable types, and operating lifting LINQ, starting with the principles of sequences, deferred execution and standard query operators, and finishing with a complete reference to query syntax-including multiple generators, joining, grouping, and query continuations Consuming, writing, and reflecting on custom attributesYou'll also find chapters on unsafe code and pointers, preprocessor directives, XML documentation, and a framework overview. If you're already familiar with Java, C++, or an earlier version of C sharp, C sharp 3.0 Pocket Reference is an ideal choice.No other book or online resource can get you up to speed so quickly.
List of contents
From the contents:
What's New in Csharp 3.0
A First Csharpt Program
Compilation
Syntax
Identifiers and Keywords
Literals, Punctuators, and Operators
Comments
Type Basics
Predefined Type Examples
Custom Type Examples
Conversions
Value Types Versus Reference Types
Predefined Type Taxonomy
Numeric Types
Numeric Literals
Numeric Conversions
Arithmetic Operators
Increment and Decrement Operators
Specialized Integral Operations
8- and 16-Bit Integrals
Special Float and Double Values
double Versus decimal
Real Number Rounding Errors
Boolean Type and Operators
Equality and Comparison Operators
Conditional Operators
Strings and Characters
Char Conversions
String Type
Arrays
Default Element Initialization
Multidimensional Arrays
Simplified Array Initialization Expressions
Bounds Checking
Variables and Parameters
The Stack and the Heap
Definite Assignment
Default Values
Parameters
var: Implicitly Typed Local Variables (Csharp 3.0)
Expressions and Operators
Primary Expressions
Void Expressions
Assignment Expressions Operator Precedence and Associativity
Operator Table
Statements
Declaration Statements
Expression Statements
Selection Statements
Iteration Statements
Jump Statements
Miscellaneous Statements
Namespaces
The using Directive
Rules Within a Namespace
Aliasing Types and Namespaces
Classes
Fields
Methods
Instance Constructors
Object Initializers (Csharp 3.0)
The this Reference
Properties
Indexers
Constants
Static Constructors
Static Classes
Finalizers
Partial Classes and Methods
Inheritance
Polymorphism
Casting
Virtual Function Members
Abstract Classes and Abstract Members
Hiding Inherited Members
Sealing Functions and Classes
The base Keyword
Constructors and Inheritance
Overloading and Resolution
The object Type
Boxing and Unboxing
Static and Dynamic Type Checking
Object Member Listing
GetType( ) and typeof
Equals, ReferenceEquals, and GetHashCode
The ToString Method
Structs
Struct Construction Semantics
Access Modifiers
Examples
Accessibility Capping
Restrictions on Access Modifiers
Interfaces
Extending an Interface
Explicit Interface Implementation
Implementing Interface Members Virtually
Reimplementing an Interface in a Subclass
Enums Enum Conversions
Flags Enumerations
Enum Operators
Nested Types
Generics
Generic Types
Why Generics Exist
Generic Methods
Declaring Generic Parameters
typeof and Generics
The default Generic Value
Generic Constraints
Generics and Covariance
Subclassing Generic Types
Self-Referencing Generic Declarations
Static Data
Generic Collection Initialization
Delegates
Writing Plug-in Methods with Delegates
Multicast Delegates
Instance Versus Static Method Targets
Generic Delegate Types
Delegate Compatibility
Events
Standard Event Pattern
Event Accessors
Event Modifiers
Lambda Expressions (Csharp 3.0)
Explicitly Specifying Lambda Parameter Types
Generic Lambda Expressions and the Func Delegates
Outer Variables
Anonymous Methods
try Statements and Exceptions
The catch Clause
The finally Block
Throwing Exceptions
Key Properties of System.Exception
Common Exception Types
Enumeration and Iterators
Enumeration
Iterators
Iterator Semantics
Composing Sequences
Nullable Types
Null Basics
Lifted Operators
bool?
Null Coalescing Operator
Operator Overloading
Operator Functions
Overloading Equality and Comparison Operators
About the author
Joseph Albahari ist C Design Architect bei der Firma Egton Medical Information Systems, dem größten Software-Anbieter für das britische Gesundheitswesen. Er entwirft seit mehr als 15 Jahren großangelegte Enterprise-Anwendungen auf .NET und auf anderen Plattformen und hat dabei in der Telekommunikation sowie im Gesundheits- und im Bildungswesen gearbeitet. Er ist auf die Programmierung von maßgeschneiderten Komponenten und Steuerungselementen spezialisiert und hat Frameworks für Anwendungskomponenten für mehrere Unternehmen entwickelt.
Ben Albahari is the founder of Take On It. He was a Program Manager at Microsoft for 5 years, where he worked on several projects, including the .NET Compact Framework and ADO.NET.
He was the cofounder of Genamics, a provider of tools for C sharp and J++ programmers, as well as software for DNA and protein sequence analysis. He is a co-author of C sharp Essentials, the first C sharp book from O'Reilly, and of previous editions of C sharp in a Nutshell.
Product details
Authors | Ben Albahari, Joseph Albahari |
Publisher | O'Reilly Media |
Languages | English |
Product format | Paperback / Softback |
Released | 19.03.2008 |
EAN | 9780596519223 |
ISBN | 978-0-596-51922-3 |
No. of pages | 230 |
Weight | 220 g |
Subject |
Natural sciences, medicine, IT, technology
> IT, data processing
> Programming languages
|
Customer reviews
No reviews have been written for this item yet. Write the first review and be helpful to other users when they decide on a purchase.
Write a review
Thumbs up or thumbs down? Write your own review.