C#简单程序的结构分析
2017-08-27 本文已影响0人
Lymon
引入命名空间
程序头部使用using关键字标识的代码
定义命名空间
使用namespace关键字标识的代码
定义类
class Program
定义一个Main方法
static void Main(String[] args){
}
方法体
在方法里写的语句为方法体
程序头部使用using关键字标识的代码
使用namespace关键字标识的代码
class Program
static void Main(String[] args){
}
在方法里写的语句为方法体