System.Linq.Tests.DistinctTests.Distinct1 C# (CSharp) Method

Distinct1() private method

private Distinct1 ( ) : void
return void
        public void Distinct1()
        {
            var count = (new int[] { 0, 1, 2, 2, 0 }).AsQueryable().Distinct().Count();
            Assert.Equal(3, count);
        }