Hello, I'm converting some C# code and I'm stuck at this line:

c# Code:
  1. while (iterator.MoveNext()) yield return iterator.Current;

The function returns IEnumerable. Can anyone tell me how this fragment can be re-written in VB?