using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;spa
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();
}
}
}blog