CSharpFeeds - All your C# feeds in one place.

Sponsors

Tuesday, June 24, 2008

Fun with C# 3.0 (#2)

by Ray Henry via InitializeComponent(); on 6/24/2008 6:31:00 PM

This one is a quickie. Auto-implemented properties.

It allows you specify the property and have the compiler automatically define a backing private instance member. It is way cool.

public class Employee
{
public string Name { set; get; }
public string Job { set; get; }
public int Age { set; get; }
}

email it!bookmark it!digg it!

Original Post: Fun with C# 3.0 (#2)

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us