yield is a keyword that allows the current method to “stream” results to an iterator. In simple words, it allows you to return results on demand. Only recently have I discovered the upgrades this keyword has received with C# 8.0. I wanted to share them here. The yield keyword can be used in specific scenarios. […]