What is short circuit logical evaluation?
Answer / 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 |
Explain About sn.exe
Explain About friend and Protected friend
What is the difference between struct and class c#?
Can you declare the override method static while the original method is non-static?
These questions were asked me in a technical interview: •If we deploy an application on multiple server (like database server, web server) then, each request should be redirected to proper server, then how you will handle it in your code? •How security pinholes will be handled in an application? •What things should be considered while writing a web application? •How will you do load/performance testing of web application? Which framework you will use for it? •How will you implement a cache for results which require a DB access? Please let me know how to write an web application considering all these points. I am not so much aware of architechural design of web application. Your guidelines will be helpful.
Is it possible to execute multiple catch block for a single try statement?
How can you overload a method?
What do you know about Translate Accelerator?
Why do we need oops in c#?
Why are c# strings immutable?
Can a sealed class be used as a base class?
What is the default value of object in c#?