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
What does void mean in c#?
List the difference between the virtual method and the abstract method?
What is private readonly in c#?
What is difference between === and ==?
What is collection of classes in c#?
What is Wrapper class in dot net?
What is .edmx file?
Is c# slower than java?
Can you have more than one namespace in c#?
What is the use of 'using' statement in c#?
Explain synchronous and asynchronous operations?
How many types of polymorphism are there?
Define acid rule of thumb for transactions in c#.
What is the purpose of c#?
How long will it take to learn c sharp?