System.Linq.Tests.SelectTests.EmptyWithIndexedSelector C# (CSharp) Méthode

EmptyWithIndexedSelector() private méthode

private EmptyWithIndexedSelector ( ) : void
Résultat void
        public void EmptyWithIndexedSelector()
        {
            Assert.Equal(Enumerable.Empty<int>(), Enumerable.Empty<string>().Select((s, i) => s.Length + i));
        }
SelectTests