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