5 ms·
imho C# has a nicer syntax: yield return <expression>; yield break; http://msdn.microsoft.com/en-us/library/vstudio/9k7k7cf0.aspx http://msdn.microsoft.co
by michielvoo 13y ago
imho C# has a nicer syntax:
yield return <expression>;
yield break;
http://msdn.microsoft.com/en-us/library/vstudio/9k7k7cf0.aspx http://msdn.microsoft.com/en-us/library/vstudio/9k7k7cf0.asp...
- masklinn 13y agohow is `yield return` and `yield break` nicer than `yield` and `return` exactly?
- michielvoo 13y agoNicer than "function *" I meant.