VB.NET How get previous element while iterating lists?
<p>Is there any way to retrieve previous element or next element while iterating lists in VB.NET?
Something like:</p>

<pre><code>For Each item In MyList
   Dim current_item = item
   Dim previous_item = Prev(item)
   Dim next_item = Next(item)
Next
</code></pre>

<p>Is there any built-in function which do what imaginary functions "<strong>Prev()/Next()</strong>" do here?
Please answer if there is already an available function, otherwise I know how to write them by myself.</p>

<p>Thanks in advance</p>