Yes, char is just like any other primitive type, you can just compare them by == .
Read moreHow do I ignore a case in C#?
Generally, in c# the string Equals() method will perform case-sensitive string comparison. If we want to perform case insensitive string comparison, we need to use the OrdinalIgnoreCase property and the Equals method .
Read more