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
Can I get the name of a type at runtime?
What is byte c#?
What is meant by collections in c#?
Is static class thread safe in c#?
How is a loop recorder monitored?
how to print invert pyramid in c#
What does string format do?
Explain the role of the datareader class in ado.net connections?
Explain the difference between “constant” and “read-only” variables used in c#?
What is the resgen.exe tool used for?
Do events have return type c#?
Why do I get a syntax error when trying to declare a variable called checked?
How can you force derived classes to provide new method implementations for virtual methods?
What is icomparer in c#?
What is callback method in c#?