string - case insensitive
Hello :) I want to check is a text starts with "RO". I have this code:
if (cod.StartsWith("RO") || cod.StartsWith("ro")||cod.StartsWith("Ro")cod.StartsWith("rO"))
Is there a way to mention "RO" to be case insensitive to avoid the cod to be too long?