I saw this at an MVC3 Razor tutorial at http://www.asp.net
public ActionResult Index() {
return View(_usrs._usrList);
}
Isn't that usage plain wrong? I have always thought that [docs]
In C#, I usually see it used only when defining the underlying private member variable for a public property. Other private member variables would not have an underscore. This usage has largely gone to the wayside with the advent of automatic properties though.
Or is it a new naming convention I am seeing? Very curious about that usage in Microsoft's own tutorial.
P.S: The article is pretty good. Its just that I tend to follow naming conventions for better readability.