Checking for a substring that is case insensitive is not as simple as it first appears. To ensure your code is robust you need to take into account the culture of the data source, because different languages use different rules for handling case sensitivity.
C# Answers provides answers to common questions about the C# language and the related .NET system. Do you have a programming question about C# or .NET that you would like answered?
Add it as a comment below and I try to answer them all!
GitHub: https://github.com/ComponentFactory/CSharpAnswers