将类型生成为模块 public class App{ static public void Main(string[] args) { System.Console.WriteLine("hi"); }} 上面的应用程序定义了一个名为App的类型,该类型有一个静态公有方法Main()