My question is pretty simple.
Is there a short hand for
if (a == "p" || a == "l" || a == "g" || a == "z")
{
            //do something 
}
Is there an alternate to this. Meaning, Can I just do something like
if (a == ("p" || "l" || "g" || "z"))//this doesn't work
 
     
     
     
     
     
    