Bart has a report from Anders talk at TechEd on C# 3.0 Future Directions. I'm hoping that the various talks from TechEd will be posted somewhere for us all to enjoy. One of the new features Bart mentions... that Anders mentions...that I mention now....is Automatic Properties. Up until this morning I had not heard of it as a feature, but apparently it's coming in a future release. Like some of the other C# 3.0 features its sounds like it involves a bit of compiler magic! Typing this:
public string Bar { get; set; }
Results in the compiler generating this:
private string foo;
public string Bar {
get { return foo; }
set { foo = value; }
}
Cool, eh?
Technorati tags:
csharp,
linq,
c#