Thursday, 29 August 2013

How can I get which 'IF' condition makes loop true with OR & AND?

How can I get which 'IF' condition makes loop true with OR & AND?

assume if i have code like:
if(condition1 || condition2 || condition 3 || condition4)
{
// this inner part will executed if one of the condition true. Now I want
to know by which condition this part is executed.
}
else
{
}

No comments:

Post a Comment