Max and Min int Constants
Validating the user
|
Category: C#
view more software Tips and Tricks
Updated: 05/12/2010 08:05 AM
Author: Shiju Mathews Status: Resolved. |
|||||||||||||||||||||||||||||||||||||||
|
We need minimum and maximum values in your program, such as by using int.MaxValue and int.Min. Every integer or typed number in the C# language has a specific max value, but that number is different for int, uint, short, and ushort.
|