firstCsharp

using System;

namespace helloworld
{
  class Hellworld{
    public int key = 1;
    static void Main(String[] arg){
      Console.WriteLine("大力出奇迹");

          Console.WriteLine("格式化输出,其实就是个功能函数而已{0},{1}",1,key); // {index}--索引值
      Console.ReadKey();//暂停
    }
  }
}

原文地址:https://www.cnblogs.com/fengdaren/p/8674928.html