using System;
namespace integerRange {
class Program {
static void Main() {
Console.WriteLine("min sbte = " + SByte.MinValue);
Console.WriteLine("max sbte = " + SByte.MaxValue);
Console.WriteLine("min byte = " + Byte.MinValue);
Console.WriteLine("max byte = " + Byte.MaxValue);
Console.WriteLine("min short = " + Int16.MinValue);
Console.WriteLine("max short = " + Int16.MaxValue);
Console.WriteLine("min ushort = " + UInt16.MinValue);
Console.WriteLine("max ushort = " + UInt16.MaxValue);
Console.WriteLine("min int = " + Int32.MinValue);
Console.WriteLine("max int = " + Int32.MaxValue);
Console.WriteLine("min uint = " + UInt32.MinValue);
Console.WriteLine("max uint = " + UInt32.MaxValue);
Console.WriteLine("min long = " + Int64.MinValue);
Console.WriteLine("maxlong = " + Int64.MaxValue);
Console.WriteLine("min ulong = " + UInt64.MinValue);
Console.WriteLine("max ulong = " + UInt64.MaxValue);
Console.ReadLine();
}
}
}
ไม่มีความคิดเห็น:
แสดงความคิดเห็น