So I see that it's possible to have a method signature where the first parameter provides a default value and the second parameter is a params collection.
What I can't see is a way to actually use the default value of the first argument.
Is it at all possible?
Example method:
void WaitAllTasks(string message = "Running Task.WaitAll", params Task[] tasks);
I initially tried omitting the message parameter when calling the method and also tried using named parameters, which doesn't work with params.
It compiles, but is it possible to use it?