Yup either use a larger data type that can hold your values or use the checked csc compiler flag. use csc /? at the command line for a list of all the compiler flags.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform.
You can accept analytics or continue with necessary cookies only.
Learn more