How can I get the n-th element of a LinkedList instance? Is there a built-in way or I might need to introduce my own implementation? For example an extension method?
I needed to get the second element of my list (to update a value on the 1st item based on the 2nd)
Assuming you're taking the necessary steps to ensure you do have two items you can simply do this :
list.First.Next.Value