Visual C# 2005: A Developer's Notebook


In the three years since Microsoft made C# available, there have been lots of tweaks to the language. That's because C# is not only essential for making .NET work, it's a big way for Microsoft to attract millions of Java, C and C++ developers to the platform. And C# has definitely made some inroads. Because of its popularity among developers, the language received standardization from ECMA International, making it possible to port C# applications to other platforms. To bolster its appeal, C# 2.0 has undergone ...

See more details below
Paperback (1st Edition)
$23.43 price
(Save 21%)$29.95 List Price
Other sellers (Paperback)
  • All (26) from $1.99   
  • New (7) from $1.99   
  • Used (19) from $1.99   
Visual C# 2005: A Developer's Notebook

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$13.49 price
(Save 43%)$23.99 List Price


In the three years since Microsoft made C# available, there have been lots of tweaks to the language. That's because C# is not only essential for making .NET work, it's a big way for Microsoft to attract millions of Java, C and C++ developers to the platform. And C# has definitely made some inroads. Because of its popularity among developers, the language received standardization from ECMA International, making it possible to port C# applications to other platforms. To bolster its appeal, C# 2.0 has undergone some key changes as part of Visual Studio 2005 that will make development with .NET quicker and easier.

That's precisely what Visual C# 2005: A Developer's Notebook allows you to do. There are some great new features in C# and this unique "all lab, no lecture" guide covers them all with 50 hands-on projects. Each project explores a new feature, with emphasis on changes that increase productivity, simplify programming tasks, and add functionality to applications.

C#'s component-based design combines the productivity of Microsoft's popular Visual Basic with the raw power of C++ for web-based applications. Many reviewers note a similarity between C# and Java—in fact, a new feature that took the Java development team five years to incorporate into Java is now available in C# 2.0. Called "generics", this feature enables developers to reuse and customize their existing code, so they can dramatically cut down the time it takes to develop new applications.

Visual C# 2005: A Developer's Notebook is full of no-nonsense code without the usual page-filling commentary. You'll find suggestions for further experimentation, links to on-line documentation, plus practical notes and warnings. The book also tells developers how to acquire, install and configure Visual Studio 2005. Are you a coder to the core? Learn what C# 2.0 can do for you now.

Read More Show Less

Product Details

  • ISBN-13: 9780596007997
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 4/28/2005
  • Edition description: 1st Edition
  • Pages: 240
  • Product dimensions: 7.02 (w) x 9.14 (h) x 0.76 (d)

Meet the Author

Jesse Liberty is the best selling author of Programming ASP.NET, Programming C#, and a dozen other books on web and object oriented programming. He is president of Liberty Associates, Inc., where he provides contract programming, consulting and on-site training in ASP.NET, C#, C++ and related topics. Jesse has been a Distinguished Software Engineer at AT&T and Vice President for technology development at CitiBank.

Read More Show Less

Table of Contents

The Developer's Notebook Series;
Notebooks Are...;
Notebooks Aren't...;
Who This Book Is For;
How This Book Is Organized;
Where Can I Learn More?;
What You Need to Use This Book;
Conventions Used in This Book;
Using Code Examples;
I'd Like to Hear from You;
Comments and Questions;
Safari Enabled;
Chapter 1: C# 2.0;
1.1 Create a Type-Safe List Using a Generic Collection;
1.2 Create Your Own Generic Collection;
1.3 Implement the Collection Interfaces;
1.4 Enumerate Using Generic Iterators;
1.5 Implement GetEnumerator with Complex Data Structures;
1.6 Simplify Your Code with Anonymous Methods;
1.7 Hide Designer Code with Partial Types;
1.8 Create Static Classes;
1.9 Express Null Values with Nullable Types;
1.10 Access Objects in the Global Namespace;
1.11 Limit Access Within Properties;
1.12 Gain Flexibility with Delegate Covariance and Contravariance;
Chapter 2: Visual Studio 2005;
2.1 Configure and Save Your Developer Environment;
2.2 Configure Your Application;
2.3 Make the Editor Work for You;
2.4 Use Refactoring to Speed Revision of Your Code;
2.5 Use Code Snippets to Save Typing;
2.6 Examine Objects While Debugging Them;
2.7 Visualize XML Data;
2.8 Diagnose Exceptions;
Chapter 3: Windows Applications;
3.1 Add Tool Strips to Your Application;
3.2 Allow Valid Input Only;
3.3 Create Auto-Complete Text Boxes;
3.4 Play Sounds;
3.5 Create Split Windows;
3.6 Create Data-Driven Forms;
3.7 Create Safe Asynchronous Tasks;
3.8 Put the Web in a Window;
3.9 Enable One-Click Deployment;
Chapter 4: Web Applications;
4.1 Develop Web Apps Without IIS;
4.2 Provide Forms-Based Security Without Code;
4.3 Add Roles to ASP.NET Accounts;
4.4 Create Personalized Web Sites;
4.5 Personalize with Complex Types;
4.6 Add Anonymous Personalization to Your Site;
4.7 Let Users Personalize Your Site with Themes;
4.8 Unify Your Look and Feel with Master Pages;
Chapter 5: Data;
5.1 Bind to Data Without Writing Code;
5.2 Create Detail Pages;
5.3 Create Master Detail Records;
5.4 Get Database Statistics;
5.5 Batch Updates to Improve Performance;
5.6 Bind to an XmlDataSource Control;
5.7 Improve XML Manipulation with XPathDocument;
5.8 Select Within XPathDocument Using XPath;

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
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 2 Customer Reviews
  • Anonymous

    Posted July 2, 2005

    Another excellent book from Jesse Liberty

    This is the first of the ¿Developer¿s Notebook¿ series that I have read, and I must say that if this book is any indication of the series, they are excellent. O¿Reilly publishes some of the best technical books available, but unfortunately, most of their books are designed as references¿not something you would normally read from cover to cover. The ¿Developer¿s Notebook¿ series attempts to fill this gap by providing an easy to read book that is actually designed to be read from cover to cover. There are a lot of new features in the new version of C#, and unless you¿ve been reading every MSDN article for the last year, chances are there are a lot of new features you won¿t know how to use. Enter this book. After going through this book, I feel I have a pretty good understanding of what generics are and how to use them, I understand delegate covariance and contravariance, and have a pretty good understanding of many of the new features of Visual Studio 2005. Not only does this book cover all these topics, but it covers them in a way that is easy to follow. The author also does a good job making the topic seem relevant and useful to whatever you might be doing in your work. One of the things I really liked about this series is the layout. Each chapter begins with an introduction about the topic. Immediately after the introduction is a section called ¿How do I do that?¿, where you¿ll see some code examples relevant to the topic. Following the code sample is a section called ¿What just happened?¿, where the author breaks down all the code you just saw into its important pieces. There is then a section called ¿What about¿¿ which goes through scenarios concerning what would happen if you did something specific to the code you saw (e.g. what happens if you attempt to add an integer value to a strongly-typed list that accepts an object of type Employee). Finally, there is a section called ¿Where can I learn more?¿ where the author discusses some additional resources for the topic. I found this book to be very thorough, fun to read, and exactly what a developer wanting to learn C# 2005 would want to read. If you want to learn more about the next version of the .NET framework and Visual Studio, this is the book you want to read.

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

    Posted June 4, 2005

    concise analysis

    For C# programmers who are already familiar with the basics, Liberty furnishes a more intricate offering, that delves into various quirks of C# 2.0. This portion of the book is not dissimilar to other books on advanced C++ or Java. But C# lives within .NET and Microsoft offers Visual Studio 2005 as the IDE for C#. The only thing comparable in those other languages might be a text on using Eclipse as a Java IDE. So for some of you, the attraction of Liberty's book might simply be to learn what productivity improvements VS2005 offers. You can, and probably should, read the official Microsoft documentation on VS2005. But Liberty provides an independent analysis that is possibly more concise. He focuses not on a comprehensive explanation of VS2005 features, but only on those that he deems actually useful. You'll have to consult the book to see whether you agree.

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

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