日期:2013-01-12  浏览次数:20371 次

好书推荐

Written for those who have some previous C/C++ or Java experience, A Programmer's Introduction to C# is a fast-moving and smart tutorial for using Microsoft's new programming language. This book is filled with both basic and advanced language details that show you how to use C# effectively.
A quick tour of C#, covering most every language detail, starts things off. Because the author assumes that you already know about basic concepts like objects, inheritance, and the like, the pace is pretty lively. Concise descriptions of key language features are anchored by short, clear code excerpts that demonstrate each C# principle. Early chapters concentrate on using objects, data types, and flow control done the C# way. Where appropriate, background material is provided on the new Microsoft .NET Frameworks environment (where C# runs), but this text is by and large a language-based tutorial. Readers will get a handle on key C# features--like built-in support for properties, the delegates keyword, and support for versioning--and even advanced nooks and crannies of the language, such as nested classes and improvements above and beyond C++ and Java.

A Programmer's Introduction to C# is careful to discuss the philosophy and style of C#, especially when it comes to class design. Of course, if you're trained in C++ or Java, you'll be right at home. Later sections turn to the nuts and bolts of .NET Frameworks with material on writing classes using methods that will cooperate better with the framework, garbage collection, and guidelines for creating reusable classes for other programmers. The book finishes up with a point-by-point comparison of C# and C++, Java, and Visual Basic, which can show you what's the same and what's been improved in this new and exciting language from Microsoft.

In all, this title arrives at just the right time for the reader who wants to get ready for C#. Although the language is still under development, reading A Programmer's Introduction to C# will help you stay ahead of the curve with its concise and effective tutorial that's perfect for the busy working developer. --Richard Dragan

Topics covered: C# language tutorial and quick-start
Introduction to objects
Overview of the Microsoft .NET runtime environment
C# data types, keywords, and language statements
C# exception handling
Using C# classes
Base classes and inheritance
Virtual, abstract, and sealed classes
Class accessibility
Nested classes
Function and operator overloading
The static keyword
Structures
C# interfaces
Versioning
Flow control in C#
C# operators and precedence
Conversions
Arrays