Collection Initializer Performance in C# – How To Get An 87% Boost!
devleader.substack.com
After seeing some posts on LinkedIn discussing collection initializers, I became curious. There was a claim that using collection expressions would have better performance than collection initializers. As a result, I set out to measure collection initializer performance in C# using BenchmarkDotNet
Collection Initializer Performance in C# – How To Get An 87% Boost!
Collection Initializer Performance in C# …
Collection Initializer Performance in C# – How To Get An 87% Boost!
After seeing some posts on LinkedIn discussing collection initializers, I became curious. There was a claim that using collection expressions would have better performance than collection initializers. As a result, I set out to measure collection initializer performance in C# using BenchmarkDotNet