Geeks With Blogs
Abhishek Anand Bits & Bytes about .net technology framework.
//Both are evaluated
if (_firstCondition =="" & _secondCondition == "")
{
 //Some code
}
 
// The second condition is evaluated only if the first is true
if (_firstCondition =="" && _secondCondition == "")
{
 //Some code
}
Posted on Tuesday, October 22, 2013 12:32 PM .net , Short-circuited operators | Back to top


Comments on this post: Short-circuited operators

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Abhishek Anand | Powered by: GeeksWithBlogs.net