System.Linq.Tests.CountTests.NonEmpty C# (CSharp) Method

NonEmpty() private method

private NonEmpty ( ) : void
return void
        public void NonEmpty()
        {
            int?[] data = { -10, 4, 9, null, 11 };
            Assert.Equal(5, data.AsQueryable().Count());
        }