IEnumerator Function
<p>I don't quite understand what the use of this IEnumerator is?</p>

<p>What is it used for? and Why? I tried looking online at <a href="http://msdn.microsoft.com/en-us/library/system.collections.ienumerator.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/system.collections.ienumerator.aspx</a></p>

<p>but dosen't make much sense. The reason I ask is in Unity3d Game Engine, it's used along with the yield function. Trying to make sense of the reason for use of IEnumerator , which is in the C# collections.</p>
