c# ienumerable access by index 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);