C# .NET Performance - Initialising Empty Array
When initialising an empty array in your codebase, there are two options you would choose from: new T[0] or Array.Empty<T>(). This benchmark is to compare the two options to see their performance statistics. Benchmark and Results [SimpleJob(RuntimeMo...
May 2, 20222 min read1.1K