Unexpected behaviour with IEnumerable
In the code below I am mapping data that I got by paralelly downloading objects from AzureDevOps Rest Api. I noticed some weird bottlenecks in my code when transforming the mapDictionary to to an excel sheet in different module of the codebase. It took forever to make a simple foreach over thousand objects because the references to the mapDictionary are lazy loaded.