Hacker News new | ask | show | jobs
by pjmlp 698 days ago
No, before C# got generators, some of the machinery had to be manually implemented, with yeld, the compiler generates the necessary implementation for IEnumerable.