Microsoft .NET Code Analysis: Creating Empty Arrays
Arrays are popular in .NET for their efficiency. The .NET team recommends avoiding zero-length allocations, opting instead for Array.Empty() or using the [] expression for creating empty arrays. The latter is faster than both new string[0] and Array.Empty(), marking a shift in performance standards in recent .NET versions.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed