I have a linked list constructed as follows:
LinkedList linked = new LinkedList(); var array = new int[] { 23, 55, 64, 65 }; foreach (
int index = linked.Select((item, inx) => new { item, inx }) .First(x=> x.item == 64).inx;