When I type the following code:
object[] objects = new object[] { };
Visual Studio tells me:
Avoid unnecessary zero-length allocations. Use
Array.Empty<object>()instead.
Are there any actual implications of using one over the other?
What is the reason for the warning?