How 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 .

Sizin İçin Seçtik  What is the difference between equals and == in C#?

Leave a Reply

Your email address will not be published. Required fields are marked *

How 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 .

Sizin İçin Seçtik  What is difference between case-sensitive and case insensitive?

Leave a Reply

Your email address will not be published. Required fields are marked *