[Proposal]: Set default accessability for property and event #4509
-
The default accessability for class members is now private, which prevents careless opening of private members. The default private in practice applies to fields, but events and properties are mostly public.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Currently there are no dialects of C#, where an external configuration variable changes the semantics of a piece of code. This is because dialects have enormous costs, both to the ecosystem, and in complexity of the language/compiler. In order for something to change this it would have to have absolutely overwhelming benefits. |
Beta Was this translation helpful? Give feedback.
Currently there are no dialects of C#, where an external configuration variable changes the semantics of a piece of code. This is because dialects have enormous costs, both to the ecosystem, and in complexity of the language/compiler.
In order for something to change this it would have to have absolutely overwhelming benefits.