static void Main(string[] args){//向控制台打印10遍 欢迎来到51CTO学习for (int i = 0; i <= 10; i++){Console.WriteLine("欢迎来到51CTO学习{0}", i);}Console.ReadKey();}