Turn on the overflow checking by compiling

To do the overflow checking by default, you can compile the source code with /checked+ option.


C:\g>csc /checked+ Program.cs
Microsoft (R) Visual C# 2010 Compiler version 4.0.30319.1
Copyright (C) Microsoft Corporation. All rights reserved.
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.