Pro C# 2005 and the .NET 2.0 Platform

( 3 )


C# 2005 changed the .NET 2.0 landscape. To name just a few improvements, C# now supports generics, partial types and nullable types when youre coding. And the framework boasts improved speed, data access, security, and scalability.

This book has been written to help you assimilate all this new information and realize its potential to make your coding life easier. It will keep you ahead of the curve. To make it easy for you to access this ...

See more details below
$44.39 price
(Save 26%)$59.99 List Price
Other sellers (Hardcover)
  • All (30) from $1.99   
  • New (2) from $3.42   
  • Used (28) from $1.99   
Sending request ...


C# 2005 changed the .NET 2.0 landscape. To name just a few improvements, C# now supports generics, partial types and nullable types when youre coding. And the framework boasts improved speed, data access, security, and scalability.

This book has been written to help you assimilate all this new information and realize its potential to make your coding life easier. It will keep you ahead of the curve. To make it easy for you to access this information, the book has been loosely grouped into five sections:

  • 1. Introducing C# 2005 and the .NET 2.0 Platform explains the mechanics of .NET programming and the philosophy that lies behind it
  • 2. The C# Programming Language outlines everything you need to know to start using C# 2005 quickly and efficiently. Object lifetimes, exception handling, genericsits all here
  • 3. Programming with .NET Assemblies deals with one of the most important aspects of .NET programming: reusing code. This book shows you how to capture your code in reuseable external assemblies that you can call upon throughout your applications
  • 4. Programming with the .NET Libraries guides you through them. Of course youre not expected to write every function yourself. The .NET Framework provides a vast array of .NET Libraries containing functionality that allows you to do everything from opening a file-stream to rendering graphical data to the screen
  • 5. Web Applications and XML Web Services concludes the book by taking you away from console-based C# applications and investigating the myriad possibilities that become available when you blend C# 2005 with ASP.NET 2.0 to launch your applications onto the Internet
Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
If you’re serious about programming with the latest versions of C# and .NET, you need C# 2005 and the .NET 2.0 Platform, Third Edition.

Andrew Troelsen illuminates powerful new language and platform features, from generic programming to nullable data types. But he’s also extended his coverage of crucial topics like object serialization, garbage collection, and the Common Intermediate Language.

Troelsen ranges from .NET’s philosophy to C#’s “gory details”: its core constructs, object implementation, memory management, exceptions, interfaces, collections, delegates, advanced type construction, and plenty more. He dives especially deeply into assemblies; then turns to exploring .NET 2.0’s base class library, from the remoting layer to ADO.NET. The book wraps up with a full section on building robust web applications and XML web services.

Experienced C# programmers will be hard-pressed to find a more useful, comprehensive resource. Bill Camarda, from the November 2005 Read Only

Read More Show Less

Product Details

  • ISBN-13: 9781590594193
  • Publisher: Apress
  • Publication date: 9/14/2005
  • Series: Expert's Voice Series
  • Edition number: 3
  • Pages: 1032
  • Product dimensions: 2.03 (w) x 7.00 (h) x 10.00 (d)

Meet the Author

Andrew Troelsen is a partner, trainer, and consultant at Intertech Inc., and is a leading authority on both .NET and COM. His book Pro C# 2005 and the .NET 2.0 Platform won the prestigious 2003 Referenceware Excellence Award and is in its third edition. Also of note are his earlier five-star treatment of traditional COM in the bestselling Developer's Workshop to COM and ATL mirrored in his book, COM and .NET Interoperability, and his top-notch investigation of VB .NET in Visual Basic .NET and the .NET Platform: An Advanced Guide. Troelsen has a degree in mathematical linguistics and South Asian studies from the University of Minnesota, and is a frequent speaker at numerous .NET-related conferences. He currently lives in Minneapolis with his wife, Amanda, and spends his free time investigating .NET and waiting for the Wild to win the Stanley Cup. You can check out his blog at
Read More Show Less

Table of Contents

Pt. 1 Introducing C# and the .NET platform
Ch. 1 The philosophy of .NET 3
Ch. 2 Building C# applications 33
Pt. 2 The C# programming language
Ch. 3 C# language fundamentals 65
Ch. 4 Object-oriented programming with C# 139
Ch. 5 Understanding object lifetime 179
Ch. 6 Understanding structured exception handling 197
Ch. 7 Interfaces and collections 221
Ch. 8 Callback interfaces, delegates, and events 255
Ch. 9 Advanced C# type construction techniques 289
Ch. 10 Understanding generics 321
Pt. 3 Programming with .NET assemblies
Ch. 11 Introducing .NET assemblies 347
Ch. 12 Type reflection, late binding, and attribute-based programming 391
Ch. 13 Processes, AppDomains, contexts, and CLR hosts 425
Ch. 14 Building multithreaded applications 449
Ch. 15 Understanding CIL and the role of dynamic assemblies 477
Pt. 4 Programming with the .NET libraries
Ch. 16 The system.IO namespace 517
Ch. 17 Understanding object serialization 545
Ch. 18 The .NET remoting layer 565
Ch. 19 Building a better window with System.Windows.Forms 605
Ch. 20 Rendering graphical data with GDI+ 649
Ch. 21 Programming with windows forms controls 699
Ch. 22 Database access with ADO.NET 759
Pt. 5 Web applications and XML Web services
Ch. 23 ASP.NET 2.0 Web pages and Web controls 829
Ch. 24 ASP.NET 2.0 Web applications 889
Ch. 25 Understanding XML Web services 919
Read More Show Less

Customer Reviews

Average Rating 5
( 3 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 3 Customer Reviews
  • Anonymous

    Posted February 16, 2007

    Expert Author Complete Presentation

    Author provides a complete and extensive presentation of all the categories of the C# programming language. It is understandable with broad explanations. I recommend this book for the intermediate and advanced level programmer.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted October 31, 2005

    .Net In Depth Look

    Pro C# 2005 and the .Net 2.0 Platform is a great book that covers the basics such as ASP.NET and ADO.NET but also covers topics that are usually forgotten such as Type Reflection and CIL. The depth of topics gives a great overall understanding of the intricacies of the .Net platform. The two best chapters in the book are the ones on Generics and the CIL. This is because Troelsen takes a very complicated subject matter and breaks it down into understandable language. When explaining Generics he discusses an in-depth discussion of why they are useful(alleviates unboxing/boxing). He also gives the CIL code that shows exactly what is happening underneath the hood which helps understand the fundamentals. I also liked how Troelsen tried to present material using best practices, sometimes left out in many books. For example, in the chapter that discusses data access, he goes through an example of creating factories which allows you to be database independent. Meaning you can connect to a SQL Server database, Oracle database etc., by just changing the configuration file. This code is very useful to understand and I think it runs in parallel with .Net Data Access Application blocks.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted December 10, 2005

    A Good Technical Read on C#

    If you are planning on learning programming itself form this book, do not buy it. If you are, as Andrew says, a Graduate level student or a programmer you will like this treatment of C# and the .Net. So far I have liked it eventhough technically I am niether. Having moderate learning in fundamentals of programming and six years in IT I find much of the book a good read and a primer for some new projects I will be participating in at work. I had purchased this book at Barnes & Noble in West Des Moines after a local DNUG guy talked to me about it and its author. Definitely worth the money in the long run for me. The book's coverage of many subjects involving C# and the .Net over time will benefit me more than an expensive library of one-off titles of niche subjects.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 3 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)