Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Use of Checked and UnChecked operators?

Answer Posted / jackir

when value of a datatype excided its limitaion then its
call overflow to avoid this problem we use ckecked and
unchecked
syntax
return unchecked(x+y);
return checked(x+y);

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can I get the name of a type at runtime?

1024


What is byte c#?

884


What is meant by collections in c#?

904


Is static class thread safe in c#?

992


How is a loop recorder monitored?

988


how to print invert pyramid in c#

1811


What does string format do?

921


Explain the role of the datareader class in ado.net connections?

944


Explain the difference between “constant” and “read-only” variables used in c#?

1086


What is the resgen.exe tool used for?

1031


Do events have return type c#?

978


Why do I get a syntax error when trying to declare a variable called checked?

1055


How can you force derived classes to provide new method implementations for virtual methods?

970


What is icomparer in c#?

975


What is callback method in c#?

981