Francesco's blog

 Monday, May 29, 2006

I have been so busy in May that I couldn't update the blog, not even to mention that my latest Microsoft Press book had been released and is now available on all major US bookstores. With fewer than 600 pages, Programming Microsoft Visual C# 2005: The Base Class Library is surely the shortest book I wrote. Not only that: it's also the book that took me less time to wrote. In fact, this book is basically the translation to C# of the second half of my VB 2005 book, more precisely of the chapters that have to do more with the .NET Framework and less with the C# language itself. Here's the Table of Contents:

1. .NET Framework Basic Types
2. Object Lifetime
3. Interfaces
4. Generics
5. Arrays and Collections
6. Regular expressions
7. Files, directories, and streams
8. Assemblies and resources
9. Reflection
10. Custom attributes
11. Threads
12. Object serialization
13. PInvoke and COM interop

Even though the book isn't specifically on the C# language, it adequately covers most of the new features of C# 2.0, such as generics, iterators, and anonymous methods.

Why a book on the BCL? Well, in these years I realized that far too many developers focus solely on high-level features - such as Windows Forms, ADO.NET, and ASP.NET - and often fail to leverage the full potential from other portions of the .NET Framework. For example, I have seen many apps that use verbose and unefficient validation rules that might be replaced by a single regular expression. Or apps that could be written in a fraction of time (and lines of code) if the author had been conscious of the full potential of reflection and custom attributes. Not to mention the fact that new .NET 2.0 features, such as generics, could make things only worse.

In general I find that most books that are "translated" from a different programming language are disappointing, so you might wonder why this book should be different. First, when I signed the contract for my VB 2005 book I already knew that the book would have been translated to C#, thus I planned the book so that its structure wouldn't be too VB-centric. Secoond, in the last four years I have been using C# in virtually all my programming projects - in fact I have surely written more C# code than VB code. For this reason, you'll find that the C# code is carefully optimized to use all the usual C#-specific techniques, such as iterators and anonymous delegates.

Shortly I will prepare a home page for the book on this site, with a couple of sample chapters. In the meantime, you can read more about the book (and hopefully order it) on Amazon's home page.

6/29/2008 3:40:14 PM (GMT Daylight Time, UTC+01:00)
Hi just started reading this book, but i can't find the code samples on MS web side, would anyone know where i could find the samples ?
thx bernd
10/20/2008 5:05:13 PM (GMT Daylight Time, UTC+01:00)
You can find them on the book's home page, on this very site:
http://www.dotnet2themax.com/ProgrammingCSharp2005.aspx

happy reading,

Francesco
Francesco Balena
3/27/2009 7:54:41 PM (GMT Standard Time, UTC+00:00)
Thank you for the delivered information. I just did a bookmark.
I am from Tonga and learning to write in English, give please true I wrote the following sentence: "Cheap tickets airline travel - ephram back leaves with his ensuring livery, his cheap tickets airline travel - national at the jet of telephony and kyle."

Thank you very much :-). Berit.
5/29/2009 6:23:34 AM (GMT Daylight Time, UTC+01:00)
Its wonderful to read. keep sharing. thanks
12/14/2009 6:56:31 AM (GMT Standard Time, UTC+00:00)
http://www.4uaf.com
12/15/2009 2:47:38 AM (GMT Standard Time, UTC+00:00)
Thank you
2/2/2010 5:25:11 AM (GMT Standard Time, UTC+00:00)
[url=http://www.discountukghd.com/]ghd styler[/url] iv is in season of [url=http://www.discountukghd.com/]ghd straighteners[/url], you would like to try a piece of [url=http://www.discountukghd.com/]ghd[/url] [url=http://www.discountukghd.com/ghd-pure-white-c-5.html]ghd pure[/url].
2/3/2010 5:13:14 PM (GMT Standard Time, UTC+00:00)
thanks! alot!
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

 
Get RSS/Atom Feed
RSS 2.0 | Atom 1.0
Search in the blog
Archive
<March 2010>
SunMonTueWedThuFriSat
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910
Categories

Powered by: newtelligence dasBlog 1.8.5223.1