第一个vs2013控制台程序

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication2
{
    class Program
    {
        static void Main(string[] args)
        {
            int myInteger;
            string myString;
            myInteger = 21;
            myString = "\"myInteger\" is ";
            Console.WriteLine("{0} {1}.", myString, myInteger);
            Console.ReadKey();//保持一直读入,否则会窗口界面会一闪而过
        }
    }
}

 

posted @ 2016-01-16 19:45  _Nestling  阅读(378)  评论(0)    收藏  举报