《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(" my_variable is {0}", my_varibale);
Console.WriteLine(" PI is {0}", PI);
Console.WriteLine("按任意键退出");
Console.ReadKey();
}
}
}

原文地址:https://www.cnblogs.com/nnty/p/9929117.html