Book Free PDF – Practical .NET2 and C#2

I just uploaded the PDF version of the book Practical .NET2 and C#2 2nd edition, 878 pages, and its 647 compilable code listings. This material is now available for free :)

I authored the first edition of this book in Frenh, published by O’Reilly France mid 2003 and the second edition on .NET2 was published late 2005. The english version was published in 2006 Q2, by Paradoxal Press. Unfortunately, you’ll see some translation issues in this English version. Also, I know a Chinese version has been published later but unfortunately I’ve never seen the paper version (any feedback on this is welcomed).

There are no .NET3 nor above edition of this book. In 2006 I started working on the first pro version of NDepend delivered in Feb 2007. Since then, it was just not timely possible to update the book version.

Writing a book of 878 pages has been a 14 non consecutive months, full time job. Financially speaking, the work was half rewarded by book sales, and utterly rewarded by the consultant and trainer reputation the book offered to me. Another significant reward was to hold in my hands the paper version, result of all this work. Also, thanks to the book, I became a MVP C# in 2003. I also learnt concretely what it was to create a significant project by myself, something that was (and still is) very useful when working on NDepend pro. But certainly, the most important benefit has been the .NET and C# deep knowledge  I got from writing this book.

A point that was essential to me was to provide a … well … practical book. This is why more than 600 C# listing examples came with the book, to demonstrate though a practical way all non-trivial points exposed.  I still often browse these code samples to get refreshment on certain API.

14 months full time is certainly an unusually high investment in writing a technical book. From what I know, a technical book is typically written by several authors in parallel, that dedicate 3 to 6 months half-time (night time?), each. Back in 2006, I sincerely don’t think there were any equivalent book. Things have evolved and today, my books choice concerning C# and .NET are C# in a Nutshell authored by Joseph and Ben Albahari (the creator of LinqPAD) and, the amazing C# in Depth authored by Jon Skeet, that I already praised. Both these books result in an unusually high writing investment, and offer the reader, an authored vision of the .NET platform and C# language.

Hopefully I believe Practical .NET2 and C#2 2nd edition can still offer value to the reader, as long as he’s not concerned by C#3 and C#4 stuff … and it is free :) Here is the book table of content:

An interesting part in the book , is the deep presentation of anonymous methods, closures and iterators covered in chapter 14. It represents a deep coverage of these features that, at that time, sounded like an obscur syntax sugar in others C# materials. Today, we know that it was provided in C#2 as a foundation of LINQ Anonymous methods were actually overridden by lambda expression, but are still supported. Example 14-46 shows actually how to use this feature to write a pipeline LINQ like query, and example 14-50 shows how to compute prime numbers using this pipeline trick.

Enjoy!

This entry was posted in Uncategorized. Bookmark the permalink. Follow any comments here with the RSS feed for this post.
  • http://www.facebook.com/mansoor.omrani Mansoor Omrani

    I came across to your book in google book results when I was searching the web for a resource which have explained what a HostExecutionContext is. Because MSDN documentation has little information about it nobody explains it in any C# book.

    Although the information about this class was also little in your book (just one line in page 149), but I found a very comprehensive and great book to read!

    Googling a little bit to see how can I get the book I came to this page and saw that you’ve  put it freely on the web. I think it is the most generous thing a writer can do to publish the 14 months of his day-to-night work freely on the internet. Being a writer myself, I understand completely what pressure it  takes to write such a technical book.

    Although the book is about .NET 2.0, but it is still readable, because the learning of .NET 4.0 is founded upon .NET 2.0

    Wish you luck. 

  • Jean Lacoste

    Un excellent bouquin qui, lorsqu’il est sorti, m’a permis de progresser vraiment rapidement.

  • http://twitter.com/AuchK Kevin Auch

    Merci Patrick.

    Recommandé à mon équipe.

    Amitié,

    Kevin

  • Joel Beckham

    Thank you!

  • http://ghadzhigeorgiev.wordpress.com Georgi Hadzhigeorgiev

    The book is really good and now it is free!

    Thank you Patrick.