官术网_书友最值得收藏!

  • Learn C# in 7 days
  • Gaurav Aroraa
  • 77字
  • 2021-07-08 09:51:23

8 (Program.cs)

This is physical class filename.

This is the name of a class file that is physically available on our disk drive. Class name and filename could be different, which means if my class name is Program, then my class filename could be Program1.cs. However, it is bad practice to call both class and filename with different names, but you can do that and the compiler won't throw any exception. For more information, refer to https://stackoverflow.com/questions/2224653/c-sharp-cs-file-name-and-class-name-need-to-be-matched.

主站蜘蛛池模板: 桃园县| 新乐市| 黎川县| 南雄市| 新乐市| 镇平县| 砚山县| 洛浦县| 普洱| 南城县| 百色市| 淮阳县| 淳化县| 浮山县| 莒南县| 浏阳市| 东阿县| 湖北省| 兰考县| 崇义县| 泰州市| 丰城市| 湖北省| 金山区| 黔西| 札达县| 兴安县| 武平县| 南和县| 理塘县| 抚顺县| 浑源县| 贵州省| 洛阳市| 靖边县| 惠东县| 达孜县| 个旧市| 体育| 岳阳市| 西安市|