using System;
namespace lesson3_变量的命名规则
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("变量的命名规则");
#region 必须遵守的规则
//1.不能重名
//2.不能以数字开头
//3.不能使用程序关键字命名
//4.不能有特殊符号(下划线除外)
//建议的命名规则:变量名要有含义->用英文(拼音)表示变量的作用
//非常不建议的命名规则:用汉字命名
#endregion
#region 常用命名规则
//驼峰命名法 首字母小写 之后每个词的首字母都大写(变量)
//帕斯卡命名法 所有单词首字母都大写(函数,类)
//潜在知识点:C#中对大小写是敏感的 是区分的
#endregion
}
}
}