The programming language C# was built with the future of application development in mind. Pursuing that vision, C#'s designers succeeded in creating a safe, simple, component-based, high-performance language that works effectively with Microsoft's .NET Framework. Now the favored language among those programming for the Microsoft platform, C# continues to grow in popularity as more developers discover its strength and flexibility. And, from the start, C# developers have relied on Programming C# both as an introduction to the language and a means of further building their skills.
The fourth edition of Programming C#--the top-selling C# book on the market--has been updated to the C# ISO standard as well as changes to Microsoft's implementation of the language. It also provides notes and warnings on C# 1.1 and C# 2.0.
Aimed at experienced programmers and web developers, Programming C#, 4th Edition, doesn't waste too much time on the basics. Rather, it focuses on the features and programming patterns unique to the C# language. New C# 2005 features covered in-depth include:
Visual Studio 2005
Collection interfaces and iterators
New ADO.NET data controls
Fundamentals of Object-Oriented Programming
Author Jesse Liberty, an acclaimed web programming expert and entrepreneur, teaches C# in a way that experienced programmers will appreciate by grounding its applications firmly in the context of Microsoft's .NET platform and the development of desktop and Internet applications.
Liberty also incorporates reader suggestions from previous editions to help create the most consumer-friendly guide possible.
The C# Language
Chapter 1 C# and the .NET Framework
The .NET Platform
The .NET Framework
Compilation and the MSIL
The C# Language
Chapter 2 Getting Started: "Hello World"
Classes, Objects, and Types
Developing "Hello World"
Using the Visual Studio .NET Debugger
Chapter 3 C# Language Fundamentals
Variables and Constants
Chapter 4 Classes and Objects
Using Static Members
Overloading Methods and Constructors
Encapsulating Data with Properties
Chapter 5 Inheritance and Polymorphism
Specialization and Generalization
The Root of All Classes: Object
Boxing and Unboxing Types
Chapter 6 Operator Overloading
Using the operator Keyword
Supporting Other .NET Languages
Creating Useful Operators
The Equality Operator
Chapter 7 Structs
Chapter 8 Interfaces
Defining and Implementing an Interface
Accessing Interface Methods
Overriding Interface Implementations
Explicit Interface Implementation
Chapter 9 Arrays, Indexers, and Collections
The foreach Statement
Chapter 10 Strings and Regular Expressions
Chapter 11 Handling Exceptions
Throwing and Catching Exceptions
Chapter 12 Delegates and Events
Using Anonymous Methods
Retrieving Values from Multicast Delegates
Programming with C#
Chapter 13 Building Windows Applications
Creating a Simple Windows Form
Creating a Windows Forms Application
XML Documentation Comments
Chapter 14 Accessing Data with ADO.NET
Relational Databases and SQL
The ADO.NET Object Model
Getting Started with ADO.NET
Using OLE DB Managed Providers
Working with Data-Bound Controls
Chapter 15 Programming ASP.NET Applications and Web Services
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Programming C#, Fourth Edition, is an African crowned crane. This tall, skinny bird wanders the marshes and grasslands of west and east Africa (the Western and Eastern African crowned cranes, Balearica pavonia pavonia and Balearica regulorum gibbericeps, respectively).Adult birds stand about three feet tall and weigh six to nine pounds. Inside their long necks is a five-foot long windpipe--part of which is coiled inside their breastbone--giving voice to loud calls that can carry for miles. They live for about 22 years, spending most of their waking hours looking for the various plants, small animals, and insects they like to eat. (One crowned crane food-finding technique, perfected during the 38 to 54 million years these birds have existed, is to stamp their feet as they walk, flushing out tasty bugs.) They are the only type of crane to perch in trees, which they do at night when sleeping.Social and talkative, African crowned cranes group together in pairs or families, and the smaller groups band together in flocks of more than 100 birds. Their elaborate mating dance has served as a model for some of the dances of local people. Mary Anne Weeks Mayo was the production editor, and Audrey Doyle was the copyeditor for Programming C#, Fourth Edition. Jamie Peppard, Matt Hutchinson, and Claire Cloutier provided quality control. Lydia Onofrei and Keith Fahlgren provided production assistance. Ellen Troutman Zaig wrote the index.Ellie Volckhausen designed the cover of this book, based on a series design by Edie Freedman. The cover image is an original engraving from the 19th century. Emma Colby produced the cover layout with Adobe InDesign CS using Adobe's ITC Garamond font.David Futato designed the interior layout. This book was converted by Julie Hawks to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano, Jessamyn Read, and Lesley Borash using Macromedia FreeHand MX and Adobe Photoshop CS. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Leanne Soylemez.
Comments about oreilly Programming C#, 4th Edition:
This book shares much of its content with 'Learning C#' by the same author (often word for word) and it really is another introductory text, pitched to an only slightly more advanced audience than its counterpart. Be prepared for over-long examples, patronising "this is what programmers call a...", tedious explanations of the simplest things, with important and useful info crowded-out by stuff you already know if you've not been buried under a rock for the last 10 years.
This was meant to be a *Programming* title, Jesse.
But there is hope, in the shape of O'Reilly's 'C# in a Nutshell', which is the no-nonsense handbook some of us were hoping for and a really excellent guide to the language. Check it out first.
Comments about oreilly Programming C#, 4th Edition:
I read some criticisms of the earlier versions of this book. I think they're all wrong. This is a great book if you want to learn C#, not Windows Forms, ASP.NET. The title is Programming C# not Windows Forms in C#. If you want a thorough coverage of C#2.0 this is the book to buy.
Coming from a C++ and Java background the differences and similarities are highlighted but could easily be skipped over if the reader has no previous knowledge of Java or C++(also VB6 and VB.NET).
Also another great thing that this book has been criticised for is the insistance on lots of code samples. Wow people complaining about code samples?!! I mean what do people expect from a book about programming?! UML diagrams? It's code heavy but the code is not bloated and clearly shows the practical use of the language feature. A few lines of code says a thousand words. Also typing in code samples makes it stick, how many times do you think you know something until you sit at the keyboard and say 'Wait how do I do that again?'?
Also Jesse Liberty's writing style is very easy to follow, I found that if I read this book at the keyboard or away from it that I was still taking in the content.
So if you really want to learn C# and not have to take onboard a library load of Microsoft marketing spiel then buy this book. (Also see Jesse Liberty's OnDotNet articles too at http://www.oreillynet.com/pub/au/239 )