How do you make CLR enforce overflow checking

A) Using Checked Keyword
B) Using Unchecked Keyword
C) With Try Catch

Showing Answers 1 - 2 of 2 Answers

naveentej

  • Jan 8th, 2006
 

Ans: A, Using Checked keyword we can enforce arithmetic overflow check within the specified code block.

This option is used when we set the Arithmetic Overflow Check to false for the entire application.

Incontrast if for the whole application u set Arithmetic Overflow Check to TRUE, but in the code for a particular block u want to bypass this check then use 'Unchecked'.

 

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions