C4Swimmers Newsletter  

(Features) New features of C# 3.0

Features : New features of C# 3.0

Introduction
This article shows some new features in C# 3.0. This demo is created as a simple C# console application to understand the new features of C# 3.0.

Background
This article is presented by regular participant of Microsoft web casts and developer conferences. These web casts gives me a better understanding of new technologies. Also I was able to implement all these successfully in my projects. This article helps you understanding what are the new language features of C# 3.0

Using the code
If you don't have licenced Visual Studio 2008 installed on your machine, I would suggest you to download and inslall Visual Studio 2008 Express Edition ( Free).

This sample demo application starts with creating an Employee class. This has few properties in it. I would suggest you start doing it while going through this article.

public class Employees
{
#region AUTO IMPLEMENTED PROPERTIES
//C# 3.0 - Auto implemented properties.
public string EmployeeName { get; set; }
public int EmployeeID { get; set; }
public string Department { get; set; }
#endregion
}

| Read more..

Courtesy :- Codeproject.com