摘要:
class class1//类 { } interface interface1//接口 { } struct struct1//结构 { } delegate int delegate1();//委托 enum Enum1 { } class Program//类 { static void Main(string[] args)//Main方法 必须为静态方法 可以void (无返回参数)或者int (整型返回类型) { } } namespace namespace1 //命名空间 { struct struct2 //结构 { } } 阅读全文