Tag Archives: paramter list

Use the params keyword in C#

If you use the params keyword before an array parameter used as the last parameter in a method, then the calling code can pass any number of values for that parameter. The following code defines a ShowValues method that can … Continue reading

Posted in methods | Tagged , , , , , , , , , , , | 4 Comments