Why use underscores when declaring variables, at least in C#? I generally use camel case for private ones
-
-
@DaveVoyles no, like - public Person(string name) { _name = name; }Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@DaveVoyles rather than - public Person(string name) { http://this.name = name; } -
@MachXGames Ahhh now I've got you, thanks. So keep doing lowercase for private vars, but underscore for that. - Show replies
New conversation -
-
-
@DaveVoyles@MachXGames I always follow the rule: everything is private until you need it with good reason. I don't use Properties for games - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.