Logical help needed for if condition

I have 3 varibles holding values Day Of Week(enum of week), Hour(0 to 23) and Minute(0 to 23), These 3 variables can hold only one comman value N/A and other values are different.
If all are N/A or some valid values then I have to execute a particular logic A. If anyone is NA and others are valid then I have to execute some other Logic B

I tryed a lot using If but not getting any generic solution. Can some one trigger me

sorry i'm lost, put some code in front of me to figure out what your saying.

sounds like you want

if ((Item1=valid) && (Item2=valid) || (Item3=valid))

or

if ((Item1=valid) || (Item2=valid) || (Item3=valid))

Topic archived. No new replies allowed.