|
|
Parameter Arrays | Parameter arrays in C# makes it possible to pass many different actual parameters - of the same type -
to a single array parameter. |
A parameter array is a formal parameter of array type which can absorb zero, one or more actual parameters |
|
A variant of the DoAdd method where all but the first parameters are summed together and
returned in the first parameter, which is an out parameter. |
It is possible to have a constructor with a parameter array. |
Read more about parameter arrays in the text book version of this material. |