c# Intersectcase insensitive

83

c# Intersectcase insensitive -

// other options include StringComparer.CurrentCultureIgnoreCase
// or StringComparer.InvariantCultureIgnoreCase
var results = array1.Intersect(array2, StringComparer.OrdinalIgnoreCase);

Comments

Submit
0 Comments