Ahhhh ... Different Levels of Accessibility on Property Accessors
Today I had the opportunity to take advantage of a .NET 2.0 little gem that allows you to set different accessibility levels on your property getters/setters. I got so used to doing work arounds in 1.1 that I almost didn't use it. Ahhh ... the little things :-)
public int MyValue
{
get { return _myValue; }
protected set { _myValue = value;}
}
PS. This can also be done for indexers.
More on MSDN.