param, when you don't know
here is a code snipit showing the use of the param language element in csharp. you use it when you want to be able to accept an indeterminate number of elements as parameters to a function. this snipit also uses the StringBuilder class to build up a string since strings are immutable.
With Line Numbers and
Without Line Numbers
|
|