Month: January 2022
How to collect return values from Parallel.ForEach?
Today I took 10 minutes to answer the 9 years old stackoverflow’s question: How do I collect return values from Parallel.ForEach? I though the improved solution deserved a quick blog...
C# Binary Search: Fast find of a free slot between 0 and uint.MaxValue
When a user is exporting a result to a document with NDepend, the tool needs to find a file name not taken in the temporary dir. Generating a GUID for...