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; }}
Original Post: Fun with C# 3.0 (#2)
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.