I don’t do much programming in .NET based languages but I have to for some things like the Windows Live Writer plugin I am creating.

I didn’t expect this but the String.IndexOf Method is by default case sensitive.

But we can make it case insensitive if we use one of the overloads: IndexOf(String, StringComparison).