How to check the Condition?

Posted by rockers on Stack Overflow See other posts from Stack Overflow or by rockers
Published on 2010-06-11T01:07:52Z Indexed on 2010/06/11 1:12 UTC
Read the original article Hit count: 311

Filed under:
|

I am new to ASP.NET how to check this condition?

int Domestic = 0;
int International = 0;

My perticular Condition is Domestic ==1 ? DID : International ==1 ? IID : (Domestic + Internationl)

this condition is only working for if My Domestic 1 and Internation 0 or Internation 1 Domestic 0

But there is chance that Domestic 1 and Internation 1 or Doemstic > 1 or Internation > 1

if both are having account I need to show them like Level...

how to check both are having Counts or not?

thanks

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about asp.net-mvc