int number = int.Parse(Console.ReadLine());
while (true)
{
Console.WriteLine("Loop Continues");
number = (number + 100000000);
Console.WriteLine(number);
}
this program continues for ever. I assume when it reaches maximum value of int , it should stop. But not stopping.why?

Ankit SharmaRank #141 · 16.1K reputationPosted Dec 4, 2017, 9:26 PM EST
Ramesh PalanivelRank #372 · 6.8K reputationPosted Dec 4, 2017, 10:30 PM EST
Nakhia Sharma37 reputationPosted Dec 4, 2017, 11:59 PM EST