System.Linq.Tests.SequenceEqualTests.MismatchInMiddle C# (CSharp) Method

MismatchInMiddle() private method

private MismatchInMiddle ( ) : void
return void
        public void MismatchInMiddle()
        {
            int?[] first = { 1, 2, 3, 4 };
            int?[] second = { 1, 2, 6, 4 };

            Assert.False(first.AsQueryable().SequenceEqual(second.AsQueryable()));
        }