Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is short circuit logical evaluation?

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


Please Help Members By Posting Answers For Below Questions

What does void mean in c#?

934


List the difference between the virtual method and the abstract method?

850


What is private readonly in c#?

909


What is difference between === and ==?

850


What is collection of classes in c#?

960


What is Wrapper class in dot net?

1031


What is .edmx file?

934


Is c# slower than java?

847


Can you have more than one namespace in c#?

900


What is the use of 'using' statement in c#?

888


Explain synchronous and asynchronous operations?

941


How many types of polymorphism are there?

905


Define acid rule of thumb for transactions in c#.

862


What is the purpose of c#?

961


How long will it take to learn c sharp?

897