I know that in C# it is possible to define optional parameters. My question is directed at how flexible this is.
Let f be a function as below, with a
Using named arguments:
f(a: 5, c: 6);
Although, strictly speaking in my example, you don't have to qualify the a:
f(5, c: 6);
Try:
f(11, c: 33)
And take a look at the documentation
You can prefix the parameter with the argument name:
f(1, c:3);
You use named parameters:
f( a:100, c:300);