Product Details
Programming C#

Programming C#
By Jesse Liberty

List Price: $44.95
Price: $29.67 & eligible for FREE Super Saver Shipping on orders over $25. Details

Availability: Usually ships in 24 hours
Ships from and sold by Amazon.com

24 new or used available from $10.97

Average customer review:
Covers not only C# syntax, but object-oriented programming principles as well.

Product Description

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
  • Generics
  • Collection interfaces and iterators
  • Anonymous methods
  • 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.


Product Details

  • Amazon Sales Rank: #249118 in Books
  • Published on: 2005-02-22
  • Original language: English
  • Number of items: 1
  • Binding: Paperback
  • 644 pages

Editorial Reviews

Amazon.com Review
Jesse Liberty's Programming C# provides an adept and extremely well conceived guide to the C# language and is written for the developer with some previous C++, Java, and/or Visual Basic experience.

It's no secret that many computer books are pretty much devoid of an authorial personality. This title is a winning exception. The author is able to weave in clever examples (using such topics as his own long experience in computing, his dog, Star Trek, etc.) without being coy or getting in the way of presenting real technical information. Liberty's wide experience in computers and general writing skill shows, as he is able to draw on a wealth of examples to move his text forward.

These are a couple of goals at work in Programming C#. First, it's an excellent language tutorial, certainly one of the smartest and best available guides to C# as a language. Early chapters explore basic and obscure language options using inheritance, delegation, interface, and the conventions in C# used to implement these techniques. The middle part of the book turns toward the .NET Framework itself, with two useful (and somewhat introductory) chapters on both Windows Forms and Web Forms, for standalone and Web-based applications, respectively.

Later sections crank up the technical knowledge again with several advanced topics on understanding .NET assemblies and deployment in detail, as well as "reflection" APIs that allow .NET programs to essentially modify their code at run time. (One technique, reflection emit, which literally writes bytecodes, will definitely interest expert readers, though it's unlikely most programmers will need to do this.) Final sections look at the .NET stream classes (rivaled only by Java's for complexity). Liberty looks at basic file and network I/O as well as how objects get serialized and marshaled both for SOAP and Web services and "normal" .NET remoting.

The author's sure hand here in navigating the difficult waters of C# and .NET makes for a relatively concise text that is chock-full of useful information on C#. Filled with notably clever and inventive examples, this book is possibly this veteran computer author's best title to date, and it's sure to be a noteworthy resource as experienced developers tackle C# for the first time. --Richard Dragan

Topics covered:

  • Introduction to C# and the .NET platform
  • A "Hello World" example in C#
  • Tutorial to C# as an object-oriented programming language (types and variables, operators, namespaces, and preprocessor directives)
  • Defining classes in C# (including static members, finalizers, overloading, and read-only fields)
  • Inheritance and polymorphism implemented in C#
  • Operator overloading
  • Structures in C#, interfaces, arrays, and indexers
  • Built-in .NET collections, strings, and regular expression support
  • Structured exception handling
  • Delegate and events
  • Introduction to programming with Windows Forms
  • ADO.NET database APIs (including basic XML support)
  • Quick introduction to Web Forms and ASP.NET used with C#
  • Introduction to Web services (SOAP, WSDL, and Discover services described)
  • In-depth guide to .NET assemblies (including metadata, versioning, private and shared assemblies)
  • C# support for attributes and reflection (including reflection emit techniques)
  • Marshaling and remoting (with and without SOAP)
  • Threads and synchronization
  • Tutorial to C#/.NET streams (including basic I/O techniques, Web streams, and serialization)
  • COM and .NET interoperability

Review
'A well-written book that gets straight to the point of all the topics it covers.' Computer Shopper, Dec (HIT!) 'Overall, I'd say the book is a valuable resource to refer to for anyone learning, or wanting to learn more about C SHARP.' - Drew Durkin, new@UK, December 2001

From the Publisher
This book is based on beta 2 of the .NET Framework.


Customer Reviews

O'Reilly does it again5
Direct and Intuitive...these are my two words to describe this book. Jesse has exceeded an already high O'Reilly standard with this offering.

I have a basic web background (HTML, XML, JavaScript, CSS, Graphics) and was looking for the one (hopefully) book to help me catch on to C# and the many advanced object oriented concepts that come along with it.

Jesse knows exactly what the object oriented newbie is going to ask, and lets you know exactly what is happening. He knows what will confuse you (me), and clarifies IMMEDIATELY. Having this kind of foresight makes it possible to read this book cover to cover without jumping back to re-learn something that was explained poorly in the first place. The layout in this book is top-shelf.

As C# is completely dependent on the .NET Base Class Libraries, any text on the matter is incomplete without examples of and references to Windows and Web Forms. This book covers Windows Forms, Web forms, Web Services and ADO.NET. (The ADO.NET section is OUTSTANDING)

(If you are ever in doubt about an O'Reilly book, they have the table of contents listed for every item at their site)

I have yet to find a more efficient and easy to read text. Every time I think O'Reilly can't do any better, they come up with something like this.

Your money is well spent here.

Great book for learning C#5
This is a great book for learning C#. The first part is an excellent tutorial in the language, just right for experienced C, C++ and Java programmers and for advanced VB6 programmers.

The second part introduces how to use the language to create .net programs. This is a bit superficial, but his goal was only to provide an introduction, and it is a very good introduction. For more detail on really building advanced applications you will need an additional book (like his book on ASP.NET).

The third part of Programming C# goes into advanced topics you won't easily find elsewhere, with excellent coverage of (for example) threading, remoting, reflection, streams and so forth.

Liberty writes well, his examples are terrific, and he makes complex material easily understandable. Further, he supports his book on his web site where he provides not only source code but a discussion center where you can ask questions.

I highly recommend this excellent tutorial.

O'Reilly quality continues with this great book4
As with most other O'Reilly titles, "Programming C#" functions as both a good read and an in-depth work of top quality information.

Programming C# gives an in-depth first look into the C# language that, according to Microsoft, is going to be a very important part of it's .Net strategy, and thus the future of software development. The first part of the book introduces all important concepts that can be found in the C# language. Syntax and object oriented design principles behind the language are explained. (and really, with it's garbage collection, type safety etc. etc. it is almost a 100% Java copy). Part II focusses on some common programming areas where C# is supposed to become big: web-applications, (relational) database handling, and next-generation Windows applications. Special attention is given to topics like ASP.net and ADO. Maybe this chapter could have included some more real-world examples, but as it is it's still quite a realistic look at these areas for C# usage. The last part introduces you to C# and it's hooks to the rest of .Net. This again is a typical example of why you should spend some money on a book by O'reilly and not run out and buy the first "Jumbo 4000 pages .Net Resource Kit" you encounter in a local bookshop from Microsoft Press. You'll get non-bloated information on C#, without all the marketing blah blah Microsoft is surrounding it's new puppy-language with these days. Basic object-oriented principles should be familiar to the reader, since these are not really explained. (but of course, we don't even want that, since we already know all about that, don't we?)

Currently this is without a doubt the best C# book on the market. If now only Bruce Eckel could start with a Thinking in C#...