New Features in C# 2.0


Jump to: navigation, search
Visual C# Tutorials
Visual C# .NET Tutorials

New Features in C# 2.0

© 2005 O'Reilly Media, Inc.
This tutorial—New Features in CSharp 2.0—is from Visual CSharp 2005, A Developer's Notebook, by Jesse Liberty. Copyright © 2005 O'Reilly Media, Inc. All rights reserved. This article is reproduced by permission. This tutorial has been edited especially for C# Online.NET.  Read the book review! VisualCSDevNbook.jpg


C# 2.0

In this chapter, you will learn about and use the new features in C# 2.0, including generics, iterators, anonymous methods, partial types, static classes, nullable types, and limiting access to properties, as well as delegate covariance and contravariance.

Probably the most exciting and most anticipated new feature in C# 2.0 is generics, which provide you with quick and easy type-safe collections. So, let’s start there.


Previous_Page_.gif Next_Page_.gif





Personal tools