convert a string to ignore case in c# code example
Example: c# string equals ignore case
string.Equals(val, "astringvalue", StringComparison.OrdinalIgnoreCase)
string.Equals(val, "astringvalue", StringComparison.OrdinalIgnoreCase)