System.Linq.Tests.ConcatTests.NonEmptyAndNonEmpty C# (CSharp) Метод

NonEmptyAndNonEmpty() приватный Метод

private NonEmptyAndNonEmpty ( ) : void
Результат void
        public void NonEmptyAndNonEmpty()
        {
            int?[] first = { 2, null, 3, 5, 9 };
            int?[] second = { null, 8, 10 };
            int?[] expected = { 2, null, 3, 5, 9, null, 8, 10 };

            Assert.Equal(expected, first.AsQueryable().Concat(second.AsQueryable()));
        }