201502 C#初級班 for迴圈使用

201502 C#初級班 for迴圈使用
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args) //static靜態 void 不回傳值 Main 進入點
        {
           int a = 1;
            for(int i=0;i<10;i++){Console.WriteLine("a:" + a.ToString() + "\n");}


            Console.ReadKey();
        }
    }
}

Comments

Popular posts from this blog

MEGA 暫存檔案刪除

IOS GCD多執行緒

利用CMD指令強制刪除