using System; namespace YourNamespace {
//类 class YourClass { } //结构 struct YourStruct { } //接口 interface IYourInterface { } //委托 delegate int YourDelegate(); //枚举 enum YourEnum { } //命名空间 namespace YourNestedNamespace { struct YourStruct { } } //类型 class YourMainClass { static void Main(string[] args) { //Your program starts here... } } }