《21天学通C#》使用.NET数据类型定义变量
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace shiyong.NET数据类型定义变量
{
class Program
{
static void Main(string[] args)
{
System.Int32 my_varibale = 4;
System.Double PI = 3.14159;
Console.WriteLine("\nmy_variable is {0}", my_varibale);
Console.WriteLine("\nPI is {0}", PI);
Console.WriteLine("按任意键退出");
Console.ReadKey();
}
}
}
拼命折腾,最差不过大器晚成~