Programming Microsoft Visual C# 2005: The Language


Get the essential, straightforward information you need to master the core capabilities of Visual C# 2005. Both new and experienced developers get expert guidance, hands-on programming instruction, and practical examples to help advance their proficiency in developing applications for Microsoft Windows and the Web.

Discover how to:

  • Refine ...
See more details below
Paperback (2005 ed.)
$35.82 price
(Save 28%)$49.99 List Price
Other sellers (Paperback)
  • All (37) from $1.99   
  • New (11) from $5.24   
  • Used (26) from $1.99   
Sending request ...


Get the essential, straightforward information you need to master the core capabilities of Visual C# 2005. Both new and experienced developers get expert guidance, hands-on programming instruction, and practical examples to help advance their proficiency in developing applications for Microsoft Windows and the Web.

Discover how to:

  • Refine class usage with inheritance, polymorphism, and other strategies
  • Implement generics to define a type-safe data structure
  • Work with stacks, queues, arrays, dictionaries, and other collections
  • Use iterators to implement and standardize enumerator patterns
  • Know when to catch exceptions—and handle them locally or propagate them
  • Interrogate metadata and facilitate late binding by using reflection
  • Synchronize threads with locks, events, mutexes, and other tools
  • Use the Microsoft Visual Studio Debugger and explore advanced debugging techniques and tools

Get code samples on the Web

Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
If you’re upgrading to C# 2005, .NET 2.0, and Visual Studio 2005, Donis Marshall’s authoritative, thorough guidebook will help you make the most of them all.

Marshall starts with the core language, elegantly introducing key concepts like namespaces, types, classes, and inheritance. Next, he introduces Visual Studio 2005 -- including high-value new features like refactoring support. You’ll discover how to access powerful C# and .NET platform features like collections, generics, iterators, delegates, and events. You’ll master memory management, and learn how to work smoothly with "unsafe" code. And you’ll learn exactly how (and how not) to use exceptions.

There’s a full section of techniques for writing better code, such as using metadata and reflection to avoid versioning (and other) problems and debugging with VS '05 (including Just-in-Time debugging). The language, the platform, the IDE: all covered nicely together, in one book. Bill Camarda, from the March 2006 Read Only

Read More Show Less

Product Details

  • ISBN-13: 9780735621817
  • Publisher: Microsoft Press
  • Publication date: 2/22/2006
  • Edition description: 2005 ed.
  • Pages: 704
  • Product dimensions: 7.36 (w) x 9.01 (h) x 1.67 (d)

Meet the Author

Donis Marshall has over 20 years of experience in designing and building enterprise software utilizing Microsoft technologies for leading companies across industry segments. He is an endorsed trainer for Microsoft Global Learning Services, and has been training Microsoft developers and engineers for many years. Donis is the author of the Programming Microsoft Visual C# 2005, Programming Microsoft Visual C# 2008, and Solid Code, published by Microsoft Press.

Read More Show Less

Table of Contents

Praise for Programming Microsoft Visual C# 2005: The Language;
Who Is This Book For?;
Organization of This Book;
System Requirements;
Technology Updates;
Code Samples;
Support for This Book;
Microsoft Press Online: Resources for Microsoft Visual Studio 2005;
Core Language;
Chapter 1: Introduction to Visual C# Programming;
1.1 Language Origin;
1.2 C# Core Language Features;
1.3 Sample C# Program;
1.4 Namespaces;
1.5 Main Entry Point;
1.6 Local Variables;
1.7 Nullable Types;
1.8 Expressions;
1.9 Selection Statements;
1.10 Iterative Statements;
1.11 Classes;
Chapter 2: Types;
2.1 Classes;
2.2 Structures;
2.3 Enumeration;
2.4 Identity versus Equivalence;
2.5 Class Refinement;
Chapter 3: Inheritance;
3.1 Inheritance Example;
3.2 System.Object;
3.3 Employee Class;
3.4 Implementing Inheritance;
3.5 Overriding;
3.6 New Modifier;
3.7 Abstract;
3.8 Sealed;
3.9 Constructors and Destructors;
3.10 Interfaces;
3.11 Polymorphism;
3.12 Casting;
3.13 Attribute Inheritance;
3.14 Visual Studio .NET 2005;
Core Skills;
Chapter 4: Introduction to Visual Studio 2005;
4.1 Integrated Development Environment;
4.2 Class Hierarchies;
4.3 Code Editor;
4.4 Code Snippets;
4.5 Refactoring;
4.6 Building and Deployment;
4.7 MSBuild;
4.8 Click Once Deployment;
4.9 Arrays and Collections;
Chapter 5: Arrays and Collections;
5.1 Arrays;
5.2 Collections;
5.3 Generics;
Chapter 6: Generics;
6.1 Generic Types;
6.2 Generic Methods;
6.3 Constraints;
6.4 Casting;
6.5 Inheritance;
6.6 Static Members;
6.7 Enumerators;
Chapter 7: Iterators;
7.1 Enumerable Objects;
7.2 Generic Enumerators;
7.3 Iterators;
7.4 Delegates and Events;
More C# Language;
Chapter 8: Delegates and Events;
8.1 Delegates;
8.2 Anonymous Methods;
8.3 Events;
8.4 Exception Handling;
Chapter 9: Exception Handling;
9.1 Exception Example;
9.2 Common Exception Model;
9.3 Structured Exception Handling;
9.4 System.Exception;
9.5 Remote Exceptions;
9.6 Unhandled Exceptions;
9.7 Managing Exceptions in Visual Studio;
9.8 Metadata and Reflections;
Chapter 10: Metadata and Reflection;
10.1 Metadata;
10.2 Reflection;
10.3 Reflection and Generics;
10.4 MSIL;
Chapter 11: MSIL Programming;
11.1 "Hello World" Application;
11.2 Evaluation Stack;
11.3 MSIL in Depth;
11.4 Complex Tasks;
11.5 Branching;
11.6 Arrays;
11.7 Arithmetic Instructions;
11.8 Process Execution;
11.9 Debugging with Visual Studio 2005;
Chapter 12: Debugging with Visual Studio 2005;
12.1 Debugging Overview;
12.2 Advanced Debugging;
Chapter 13: Advanced Debugging;
13.1 DebuggableAttribute Attribute;
13.2 Debuggers;
13.3 Just-In-Time (JIT) Debugging;
13.4 Managed Debugger;
13.5 WinDbg;
13.6 Son of Strike (SOS);
13.7 Dumps;
13.8 Memory Management;
13.9 Threads;
13.10 Exceptions;
13.11 Symbols;
13.12 Memory Management;
Advanced Concepts;
Chapter 14: Memory Management;
14.1 Unmanaged Resources;
14.2 Finalizers;
14.3 IDisposable.Dispose;
14.4 Weak Reference;
14.5 GC Class;
14.6 Nonsecure Code;
Chapter 15: Unsafe Code;
15.1 Unsafe Keyword;
15.2 Summary;
Operator Overloading;
Mathematical and Logical Operators;
Conversion Operators;
Practical Example;
Operator Overloading Internals;
Donis Marshall;
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

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