c# ienumerable index access code example
Example: C# IEnumerable access element at index
using System.Linq;
.
.
Customer c = customerList.ElementAt(currentIndex);
using System.Linq;
.
.
Customer c = customerList.ElementAt(currentIndex);