/PrivateFieldsInternalClass

Is c# safe? I don't think so. Internal classes are not internal, private fields are not private.

Primary LanguageC#

PrivateFieldsInternalClass

Is c# safe? I don't think so. Internal classes are not internal, private fields are not private.

Part 2: Readonly field isn't readonly. There is possibility to change the value outside the constructor.