What does a _ mean in C#?
What does a _ mean in C#? _ means nothing in C#, it is just the name of the variable, would be exactly the same if you leave the _ out. What does an underscore mean in C#? The underscore before a variable name _val is nothing more than a convention. In C#, it is used when defining the private member variable for a public property. This are naming conventions that you and your team can decide to follow or not, as long as all of you are aware of the decision. What is underscore naming convention called? Snake case...