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 are cshtml files?
Does the system.exception class have any cool features?
What is the benefit of interface in c#?
What is literal control
Tell us something about static linking and dynamic linking?
Why do we need escape characters?
Is c# a technology?
Is null == null c#?
What is the difference between firstordefault and first?
What is sqlcommandbuilder c#?
How many digits is a 32 bit number?
Is list immutable in c#?
What does xpath return?
What is wpf c#?
Define parsing? Explain how to parse a datetime string?