compare strings with ignoring the case
Published: 25. November 2011 | Updated: 25. November 2011License: Microsoft Public License (MS-PL)
Categories: Framework » Strings
Tags: Basics C# Text
bool equal = "abc".Equals("ABC", StringComparison.InvariantCultureIgnoreCase); // true
| Send us feedback about this snippet » |





