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 |
What is system console writeline in c#?
how to cleanup object that does not support dispose method? How to implement dispose for such scenarios?
What is covariance and contravariance? Did Delegate and method overriding support these?
Can an interface inherit class/abstract class.
What are some of the commonly used commands in sqlcommand?
How to find whether the application is run from inside ide or not?
What is the difference between an application domain and a process?
What is protected internal modifier in C#?
What are the different types of assembly?
What’s thread.sleep() in threading ?
What is a reference type c#?
What is xml serializer?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)