Seems like i learn something new everyday...
public string Name
{
get
{
return name;
}
protected set
{
name = value;
}
}
I never knew that i could put an accessibility level to the 'set' portion of my property. This technique is called Asymmetric Accessor Accessibility. Read more here.
Posted
Jan 02 2007, 04:53 PM
by
keithrull