comp = StringComparison.OrdinalIgnoreCase Console.WriteLine(" {0:G}: {1}", comp, s.Contains(sub1, comp)) That seems like the way. However, I tried and it doesn't work. It seems that the only altenative of s.Contains take char() as first argument. If I want to insert string as first argument then I cannot have second argument as StringComparison.OrdinalIgnoreCase.
I got the snippet from https://msdn.microsoft.com/en-us/library/dy85x1sa(v=vs.110).aspx