C#.NET实例变量的命名约定? [英] C# .NET instance variable naming convention?

查看:105
本文介绍了C#.NET实例变量的命名约定?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在做一个小的实习企业,并在其code我发现,被命名为这样的类:

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

_instance 在C#中的任何类型的命名约定?

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.

推荐答案

这也许可以帮助你:<一href="http://10rem.net/articles/net-naming-conventions-and-programming-standards---best-practices">.net命名约定和编程标准 - 最佳实践

根据这一文件,这是确定的。

According to this document, it is ok.

这篇关于C#.NET实例变量的命名约定?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆