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();//暂停
    }
  }
}

 

posted @ 2018-03-30 10:47  涂鸟少年  阅读(62)  评论(0编辑  收藏  举报