Trap Arithmetic Overflow Exception - Simpler Way
Yateen Thakkar, Syntel India in his article posted on 12/2/2004; has described a way to enable Arithmetic Overflow Exception in C#.There is a much shorter and simpler to enable Arithmetic Ove
Haroon Ghaus
December 2, 2004
1 Min Read
Yateen Thakkar, Syntel India in his article posted on 12/2/2004; has described a way to enable Arithmetic Overflow Exception in C#.
There is a much shorter and simpler to enable Arithmetic Overflow Exception check.
Just go to C# project's properties. Under Configuration Properties>>Build>> set "Check for arithematic over flow/underflow" to true.
Now the CLR will manage the check itself.
About the Author
Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.
You May Also Like