System.Linq.Tests.ElementAtTests.ManyElementsIndexTargetsLast C# (CSharp) 메소드

ManyElementsIndexTargetsLast() 개인적인 메소드

private ManyElementsIndexTargetsLast ( ) : void
리턴 void
        public void ManyElementsIndexTargetsLast()
        {
            int[] source = { 9, 8, 0, -5, 10 };
            
            Assert.Equal(10, source.AsQueryable().ElementAt(source.Length - 1));
        }