随笔分类 -  VC#.Net 2005 基础练习

C# 程序入口(Main)
摘要:一、C#程序入口(Main) static void Main(){ } static int Main() { } static void Main(string[] args){ }static int Main(string[] args) { }1.主程序Main函数一共有以上四种版 2.一个程序中不能有两个以上的Main函数,有且只有一个 3.Main函数只能返回int类型,如果返回1,... 阅读全文
posted @ 2006-03-18 00:47 陈贵全 阅读(11281) 评论(3) 推荐(0)