I’ve started playing around with Visual Studio 2005 for a small Flickr project I need, and I’m really digging on the new ability to specify different protection levels on get and set accessors. I’ve often found myself needed a public get accessor and a protected or private set accessor. With .NET 2.0 I can have this with writing a separate internal set accessor. Small feature but it’s something I see myself using on a regular basis.
public string MyString
{
get
return "";
}
private set
string s = value;
Also: Generics… Wow! I want my next child to have this feature
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.