I was trying to run the below code snippet in Visual Studio 2010 .int Number1 = 320000;
int Number2 = 320000;
int Number3 = Number1 * Number2 ;
MessageBox.Show(Number3.ToString());The code resulted in the value – 797966336 without being showing the error or the correct value . Just found that If you want an exception to be raised on this occassion , then use the following 2 options as below .Read more: Ginktage
int Number2 = 320000;
int Number3 = Number1 * Number2 ;
MessageBox.Show(Number3.ToString());The code resulted in the value – 797966336 without being showing the error or the correct value . Just found that If you want an exception to be raised on this occassion , then use the following 2 options as below .Read more: Ginktage
0 comments:
Post a Comment