随笔 - 78  文章 - 25  trackbacks - 0
<2009年9月>
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

常用链接

留言簿

随笔分类(75)

随笔档案(78)

相册

实用Links

我的Links

搜索

  •  

积分与排名

  • 积分 - 112098
  • 排名 - 521

最新评论

阅读排行榜

评论排行榜

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HelloWorld
{
    class Program
    {
        static void Main(string[] args)
        {
            for (int i = 0; i < 3;i++ )
                System.Console.WriteLine("{0}:Hello World!",i);
            System.Console.ReadLine();//为了便于查看上面打印三个HelloWorld的结果
        }
    }
}


说明:该程序为:Windows Console Application
打印三个hello World

Main函数是该项目的启动入口。
在控制台应用程序中默认引用包括:System,System.Data,System.Xml

运行结果如下:

0:Hello World!
1:Hello World!
2:Hello World!





posted on 2009-09-28 21:46 期待明天 阅读(178) 评论(0)  编辑  收藏 所属分类: CSharp

只有注册用户登录后才能发表评论。


网站导航: