logoalt Hacker News

zarlo • today at 12:32 PM • 0 replies • view on HN

IEnumerators can also be value types So no heap allocation, just stack.

slightly off topic but a lot of things in .NET actually use compile time duct typing. like how async works To make your own task, you don't add an interface to it. You just implement a single method.