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 and
design team members, The C# Programming Language is the
definitive technical reference for C#. Moving beyond the
online documentation, 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 provides an introduction to
and technical specification of the four major new features
of C# 2.0: Generics, Anonymous Methods, Iterators, and
Partial Types. Reference tabs and an exhaustive print index
allow readers to easily navigate the text and quickly find
the topics that interest them most. An enhanced online
index allows readers to quickly and easily search the
entire text for specific topics.
With the recent acceptance of C# as a standard by both
the International Organization for Standardization (ISO)
and ECMA, understanding the C# specification has become
critical. The C# Programming Language is the definitive
reference for programmers who want to acquire an in-depth
knowledge of C#.
Contents
- C# 1.0
- Introduction
- Lexical structure
- Basic concepts
- Types
- Variables
- Conversions
- Expressions
- Statements
- Namespaces
- Classes
- Structs
- Arrays
- Interfaces
- Enums
- Delegates
- Exceptions
- Attributes
- Unsafe code
- C# 2.0
- Introduction to C# 2.0
- Generics
- Anonymous methods
- Iterators
- Partial Types
- Appendixes
- Documentation comments
- Grammar
- Index