Thank you in advance for your precious help. Here is my problem, I would like to compare the first two characters of MirePrincipale (which is a string) to the following character strings either "MS" or "VI" or "PF". I can only do it with only one string "MS" not the rest . Here is my code !!
if ( MirePrincipal.Substring(0, 2) == "MS" || "VI" || "PF")
return this.MireSecondaire + " " + "(" + MirePrincipal + ")";
else
return "Mire Principale is note a MS VI OR PF";