Monday, December 15, 2008

Auto-implemented properties

"In C# 3.0 and later, auto-implemented properties make property-declaration more concise when no additional logic is required in the property accessors. "

public class Student
{
public string First { get; set; }
...
}

No comments: