C#定义变量
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { # region 主程序 static void Main(string[] args) { int myInteger; string myString; myInteger = 17; myString = "Hello C#"; Console.WriteLine("{0} {1}",myInteger,myString); Console.ReadKey(); } #endregion } } 本文转自TBHacker博客园博客,原文链接:http://www.cnblogs.com/jiqing9006/p/6705440.html,如需转载请自行联系原作者
