| Author: Jigar Joshi 21 Nov 2008 | Member Level: Gold | Rating:  Points: 2 |
do you mean by "Checked" keyword?
If u mean by "checked", then this keyword is used to check datatype overflow..
Regards J
|
| Author: Bunty 21 Nov 2008 | Member Level: Diamond | Rating:  Points: 4 |
Hi,
The checked and unchecked keywords are used to control the overflow-checking for integral-type arithmetic operations and conversions. It can be used as an operator or a statement.
For more details check the following webpage,
http://geertverhoeven.blogspot.com/2007/02/checked-and-unchecked-keyword_10.html
Regards S.S.Bajoria
Thanks & Regards S.S.Bajoria
|
| Author: shiji 21 Nov 2008 | Member Level: Silver | Rating:  Points: 1 |
Hi Satyanarayan
Thank you Very Much......................... Shiji
|
| Author: gowthami chowdary 22 Nov 2008 | Member Level: Gold | Rating:  Points: 5 |
In a checked context, if an expression produces a value that is outside the range of the destination type, an exception will be thrown.
In an unchecked context, if an expression produces a value that is outside the range of the destination type, the value will be truncated.
The checked and unchecked keywords are used to control the overflow-checking for integral-type arithmetic operations and conversions. It can be used as an operator or a statement.
|