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

          常用鏈接

          留言簿

          隨筆分類(75)

          隨筆檔案(78)

          相冊

          實用Links

          我的Links

          搜索

          •  

          積分與排名

          • 積分 - 114390
          • 排名 - 515

          最新評論

          閱讀排行榜

          評論排行榜

          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 期待明天 閱讀(208) 評論(0)  編輯  收藏 所屬分類: CSharp
          主站蜘蛛池模板: 山丹县| 宁明县| 建昌县| 武隆县| 稷山县| 偏关县| 固阳县| 泗水县| 娱乐| 株洲市| 伊通| 陈巴尔虎旗| 明水县| 鹿邑县| 浪卡子县| 河曲县| 波密县| 高雄县| 台南县| 德昌县| 来安县| 新宁县| 康平县| 本溪市| 布拖县| 南城县| 静安区| 韩城市| 梅河口市| 阜平县| 怀化市| 东丰县| 横山县| 上栗县| 惠东县| 泸州市| 宽甸| 深泽县| 安新县| 阜宁县| 武平县|