《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();
}
}
}

 

posted on 2018-11-08 15:00  天源  阅读(204)  评论(0编辑  收藏  举报

导航