On 4 August 2010 13:34, Michael Minutillo <[email protected]> wrote: > Hi Arjang, > You can always create new members in the derived class which access the > protected/internal members in the base class so widening the access levels > should be fine. Remember that these access modifiers are really about intent > not security. Anyone can use still reflection-fu to bypass them. > You shouldn't decrease visibility (can you do that anyway? Doesn't that > break polymorphism?).
Yes, That is what LSP says ( I think :) http://en.wikipedia.org/wiki/Liskov_substitution_principle
