csharplang/proposals/csharp-6.0/empty-params-array.md
2020-09-03 14:44:12 -07:00

286 B

Empty array for zero arguments passed to params parameter

We use Array.Empty() to create a zero-element array to pass to a params method when no arguments correspond. The language spec requires a new array, so it is a language change. This is a placeholder for the specification.