I'm trying to compare two strings using this code in a switch statement:
case "medStepOne":
WebEligibilityMedFirst.SelectOptions(p0);
if (!p0.Equals("failOne") || !p0.Equals("failTwo") || !p0.Equals("failThree") || !p0.Equals("failFour"))
{
WebEligibilityMedSecond.SelectOptions(p0);
}
break;
The string is definitely "failOne" so I believe that the code should bypass the if statement but it does not.