变量的练习

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

namespace ConsoleApplication3
{
    class Program
    {
        static void Main(string[] args)
        {
            int myinteger;
            string mystring;
            myinteger = 17;
            mystring = "\"myinteger\" is";
            Console.WriteLine("{0} {1}.",mystring, myinteger);
            Console.ReadLine();
        }
    }
}

posted @ 2011-04-22 12:18  邪灵  阅读(117)  评论(0)    收藏  举报