《21天学通C#》使用.NET数据类型定义变量
2021-07-02 10:06
标签:read main \n reading names bsp 变量 ring nbsp using System; namespace shiyong.NET数据类型定义变量 《21天学通C#》使用.NET数据类型定义变量 标签:read main \n reading names bsp 变量 ring nbsp 原文地址:https://www.cnblogs.com/nnty/p/9929117.html
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
{
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();
}
}
}