using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Security.Cryptography;
public class MainClass
{
public static void Main()
{
Console.WriteLine("{0}: bytes: {1}, range: [{2},{3}]",
typeof(float).ToString(), sizeof(float), float.MinValue, float.MaxValue);
Console.WriteLine("{0}: bytes: {1}, range: [{2},{3}]",
typeof(double).ToString(), sizeof(double), double.MinValue, double.MaxValue);
Console.WriteLine("{0}: bytes: {1}, range: [{2},{3}]",
typeof(decimal).ToString(), sizeof(decimal), decimal.MinValue, decimal.MaxValue);
}
}
|