Yield in C Sharp?

Hi! I just switched from JS to CS, and I need to know how to yield in CS.

Help appreciated!

The equivalent of yield would be

yield return null;

To yield for a specific amount of time,

yield return new WaitForSeconds(amount);

First keep in mind, IEnumerable is your friend, some resources from google by typing in “yield unity3d c#”

http://answers.unity3d.com/questions/622/how-do-i-use-yield-in-c

Thanks guys! This will help me quite the bit.