Tag: unchecked
-
C-Sharp Basics: What is Checked and Unchecked operations
You may have come across questions, What is checked and unchecked primitive operations? How to handle overflow in C-Sharp? Does CLR handles overflow or developers? So let us start with understanding a program. Consider the code listed below: On running you will get 44 as the output. There is one serious observation about the…