What do you choose, protected or internal?

Posted by brickner on Stack Overflow See other posts from Stack Overflow or by brickner
Published on 2010-05-20T04:53:44Z Indexed on 2010/05/20 5:00 UTC
Read the original article Hit count: 269

Filed under:
|
|
|
|

If I have a class with a method I want protected and internal. I want that only derived classes in the assembly would be able to call it.

Since protected internal means protected or internal, you have to make a choice. What do you choose in this case - protected or internal?

© Stack Overflow or respective owner

Related posts about c#

Related posts about protected