CSharp examples for System:String Case
Equals Invariant Culture Ignore Case
using System.Globalization; using System;/*from ww w.j av a 2 s . c o m*/ public class Main{ public static bool EqualsInvariantCultureIgnoreCase(this string str, string s) { return str.Equals(s, StringComparison.InvariantCultureIgnoreCase); } }