SyntaxFix
Write A Post
Hire A Developer
Questions
You can use:
if (myString1.IndexOf("AbC", StringComparison.OrdinalIgnoreCase) >=0) { //... }
This works with any .NET version.