list contains case insensitive c# code example
Example: c# check if list contains string case insensitive
List1.Contains(Name, StringComparer.InvariantCultureIgnoreCase);
List1.Contains(Name, StringComparer.InvariantCultureIgnoreCase);