C # Array Intersect
C # Array Intersect
void Main()
{
string[] array1 = { "Red", "blue", "green","black" };
string[] array3 = { "Red", "blue", "green","black" };
var results = array1.Intersect(array3, StringComparer.OrdinalIgnoreCase);
Console.Write(results);
}

Yorumlar
Yorum Gönder