Is there a C# case insensitive equals operator? July 10, 2022 by Tarik Try this: string.Equals(a, b, StringComparison.CurrentCultureIgnoreCase);