Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Talk:Coding guideline - Common rules

Discussion page of Coding guideline - Common rules

Private member variables

I would like that we have _camelCase as allowed for this specific case. It makes it easier to see in code when people are using private variables, using this. or not

=> a section for naming private/protected member's fields has been added into 3.4.1

Camel case preceding by an underscore '_' for private/protected fields:

public class SomeClass
{
private int _number;
protected string _name;
}