To know Maximum and minimum value of data types in c#

Jitendrasoft09
Posted by Jitendrasoft09 under C# category on | Points: 40 | Views : 865
using System;

class JkExample {

static void Main(string[] args) {

Console.WriteLine("Int Max Value: {0}", int.MaxValue);
Console.WriteLine("Int Min Value: {0}", int.MinValue);

Console.ReadLine();
}
}

Comments or Responses

Login to post response