Hacker News new | ask | show | jobs
by jacabado 5271 days ago
I didn't knew how to make an enumerable with an yield.

http://csharpindepth.com/Articles/Chapter11/StreamingAndIter...

I had used it to make a state machine but didn't know its relation to IEnumerable. The article was enlightening to a C# latecomer like me.