Does C# support a variable number of arguments?
If yes, How does C# support variable no of arguments?
What are the examples?
How are variable argum
I assume you mean a variable number of method parameters. If so:
void DoSomething(params double[] parms)
(Or mixed with fixed parameters)
void DoSomething(string param1, int param2, params double[] otherParams)
Restrictions:
That's all I can think of at the moment though there could be others. Check the documentation for more information.