Click here to Skip to main content
15,067,833 members
Articles / Programming Languages / C#


13 bookmarked

Arithmetic Overflow in .NET - Some Nitty Gritties

Rate me:
Please Sign up or sign in to vote.
4.78/5 (15 votes)
8 May 2016CPOL8 min read
Let's get into few nitty gritties involved with integer data type and what can go wrong behind the scenes when its arithmetic limits are exceeded




This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Rasik Bihari Tiwari
Software Developer 1E
India India
My professional details will hardly make a difference to you if you have come to know about me after reading my lengthy article but my intent will make a difference for sure. Why I write articles is for the sole motto which I got to know pretty late in my career. My motto is that there is ONLY one way of enhancing knowledge and that way is sharing. Blogs, articles and white papers are nothing but a form of knowledge sharing. It also helps you creating a backup copy of the knowledge you have in your brain and nerves. This backup copy will surely outlive your life as this knowledge gets transferred to uncountable people through sharing. So start contributing now! Always remember my favorite quote - "Knowledge is the ONLY antidote to all fears. Start reading a new book today". Don't seek Nirvana. Seek knowledge. Nirvana and knowledge are synonymous.

Comments and Discussions