Passing zero arguments as params -- where the behaviour is defined?
- by macias
C# spec. allows you to call a function
void foo(params int[] x)
with zero parameters. However, I didn't find in C# Lang. Spec. a word on further behaviour -- will foo get empty array or null reference? I checked also MSDN -- nothing.
Where the behaviour is defined?
NOTE: I am not asking how VS behaves, I am asking about design of the language.