Language Basics C# Book

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.