The C# Programming Language

Front Cover
Adobe Press, 2006 - Computers - 704 pages

A new edition of this title is now available, ISBN-10: 0321562992 ISBN-13: 9780321562999

C# is a simple, modern, object-oriented, and type-safe programming language that combines the high productivity of rapid application development languages with the raw power of C and C++. Written by the language's architect, Anders Hejlsberg, and design team members, and now updated for C# 2.0, The C# Programming Language, Second Edition, is the definitive technical reference for C#. The book provides the complete specification of the language, along with descriptions, reference materials, and code samples from the C# design team.

The first part of the book opens with an introduction to the language to bring readers quickly up-to-speed on the concepts of C#. Next follows a detailed and complete technical specification of the C# 1.0 language, as delivered in Visual Studio .NET 2002 and 2003. Topics covered include Lexical Structure, Types, Variables, Conversions, Expressions, Statements, Namespaces, Exceptions, Attributes, and Unsafe Code.

The second part of the book describes the many new features of C# 2.0, including Generics, Anonymous Methods, Iterators, Partial Types, and Nullable Types. This second edition describes C# 2.0 as actually released in Visual Studio .NET 2005, with many additions and improvements over the design presented in the first edition. Reference tabs and an exhaustive index allow readers to easily navigate the text and quickly find the topics that interest them most.

The C# Programming Language, Second Edition, is the definitive reference for programmers who want to acquire an in-depth knowledge of C#.

 

Contents

Introduction
3
Lexical Structure
45
Basic Concepts
73
Types
101
Variables
115
Conversions
135
Expressions
147
Statements
229
Exceptions
407
Attributes
411
Unsafe Code
429
Introduction to C 20
457
Generics
477
Anonymous Methods
535
Iterators
551
Partial Types
567

Namescapes
263
Classes
273
Structs
355
Arrays
367
Interfaces
373
Enums
393
Delegates
399
Nullable Types
573
Other Features
587
Documentation Comments
611
Grammar
635
Index
675
Copyright

Common terms and phrases

References to this book

Bibliographic information