Answer Posted / amitabh dubey
Consider This
int x = 8;
if((x == 8) || (y == 12))
Since first expression (x == 8) evaluates to true and it is
seperated by || (or operator) by second expression in the
if statment, c# compiler will short-circuit the evaluation,
and the second statement will never be evaluated.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
Define the term immutable ?
What is the difference between function and method in c#?
Difference between value and reference type.
Why do we use static class in c#?
What is the difference between interface and inheritance in c#?
What does void mean in c#?
What is delegates and events?
What is asax file in c#?
How to implement an object pool in c#.net.
What does get set mean in c#?
What is difference between constants and readonly in c#?
Can we call server-side code (c# or vb.net code) from javascript?
Is char * null terminated?
Is a char?
What is a strong name in c#?