Talk:Coding guideline - Common rules

From Catglobe Wiki
Jump to: navigation, search

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;
}