📅  最后修改于: 2022-03-11 14:49:20.384000             🧑  作者: Mango
MaxValue = 2147483647;
MinValue = -2147483648;
int number;
if (number >= Int32.MinValue && number <= Int32.MaxValue)
{
Console.WriteLine("Number is between min and max value");
}