To do the overflow checking by default, you can compile the source code with /checked+ option.C:\g>csc /checked+ Program.csMicrosoft (R) Visual C# 2010 Compiler version 4.0.30319.1Copyright (C) Microsoft Corporation. All rights reserved.