public class SequenceEqual_LINQ { public static void SequenceEqual_Print() { int[] numbers1 = { 1, 2, 3, 4, 5, 4, 5 }; int[] numbers2 = { 1, 2, 3, 4, 5, 4, 5 }; int[] numbers3 = { 1, 2, 3, 4, 5 }; Console.WriteLine(numbers1.SequenceEqual(numbers2)); Console.WriteLine(numbers1.SequenceEqual(numbers3)); } }