The definitive specification to C#, from the language's architect and the specification's author!
° Anders Hejlsberg is the architect of C#, and Scott Wiltamuth is the author of the C# specification
° The book will have a thorough print index, a searchable online index, and helpful navigation tools
° Fully up to date for C# version 1.1 and Visual Studio 2003, it also has extensive coverage of new features being added to the next version of C#
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#.
Download the Sample Chapters related to this title:
I. C# 1.0.1. Introduction.
Types and Variables.
Classes and Objects.
Attributes.2. Lexical Structure.
Preprocessing Directives.3. Basic Concepts.
Signatures and Overloading.
Namespace and Type Names.
Automatic Memory Management.
Execution Order.4. Types.
Boxing and Unboxing.5. Variables.
Atomicity of Variable References.6. Conversions.
User-Defined Conversions.7. Expressions.
Relational and Type-Testing Operators.
Conditional Logical Operators.
Boolean Expressions.8. Statements.
End Points and Reachability.
The Empty Statement.
The try Statement.
The checked and unchecked Statements.
The lock Statement.
The using Statement.9. Namespaces.
Type Declarations.10. Classes.
Class and Struct Differences.
Struct Examples.12. Arrays.
Array Element Access.
Array Initializers.13. Interfaces.
Fully Qualified Interface Member Names.
Interface Implementations.14. Enums.
The System.Enum Type.
Enum Values and Operations.15. Delegates.
Delegate Invocation.16. Exceptions.
Causes of Exceptions.
The System.Exception Class.
How Exceptions Are Handled.
Common Exception Classes.17. Attributes.
Attributes for Interoperation.18. Unsafe Code.
Fixed and Moveable Variables.
Pointers in Expressions.
The fixed Statement.
Dynamic Memory Allocation.
II. C# 2.0.19. Introduction to C# 2.0.
Partial Types.20. Generics.
Generic Class Declarations.
Generic Struct Declarations.
Generic Interface Declarations.
Generic Delegate Declarations.
Expressions and Statements.
Revised Lookup Rules.
Right-Shift Grammar Changes.21. Anonymous Methods.
Anonymous Method Expressions.
Anonymous Method Signatures.
Anonymous Method Conversions.
Anonymous Method Blocks.
Anonymous Method Evaluation.
Delegate Instance Equality.
Method Group Conversions.
Implementation Example.22. Iterators.
The yield Statement.
Implementation Example.23. Partial Types.
III. APPENDIXES.A. Documentation Comments.
Processing the Documentation File.
An Example.B. Grammar.
Grammar Extensions for Unsafe Code.Index.
Download the Index
file related to this title.