i'm having a bit of confusion with property accessors.
I'd like to have an internal property with its set accessor only accessible to derived classes.
something like this
internal [internalClass] MyProperty
{
get {return _prop;}
protected set {_prop = value;}
}
when i do this the compiler complains.
MSDN, when discussing this particular error suggests changing the set
access modifier to private
which is not where i want this to go.
it looks like Protected Internal
should be an option here however using this modifier gives the same error
I have a feeling i'm missing some basic understanding of access modifiers.
thanks