Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

C# .NET instance variable naming convention?

I'm doing a small internship at a business and in their code I find classes that are named like this:

public class FlagsConfig {     private static FlagsConfig _instance;  } 

Is the _instance a naming convention of any sort in C#?

I would ask the developers but they are all out today and the next week on some course.

like image 672
Shogoot Avatar asked Nov 04 '11 08:11

Shogoot


1 Answers

Maybe this can help you: .net Naming Conventions and Programming Standards - Best Practices

According to this document, it is ok.

like image 165
Manu Avatar answered Oct 14 '22 05:10

Manu