C# 程序的通用结构(命名空间下组成)
2012-08-03 15:29 墨泣 阅读(134) 评论(0) 编辑 收藏 举报来源:http://msdn.microsoft.com/zh-cn/library/w2a9a9s3
// A skeleton of a C# program
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...
}
}
}