>>>>
>>>>Anyone can please clarify?
>>>
>>>I think you were the only one who came up with four parameters (didn't see Frank attempting to use that many...)
>>
>>Check his post - that's exactly how he invoked this function.
>
>Maybe I missed where he was trying to do this but, to answer your question if a parameter consisting of an array you can either pass in a single dimensioned array or a list or individiual items (assuming they are of the correct type):
void Something(params int[] nums)
>{
>}
Can be called as:
int[] x = {1, 2, 3};
>Something(x);
>//or
>ShowNumbers (1,2,3);
HTH,
>Viv
How will it work, if you have:
void Something(params int[] nums, bool PerformSomething)
If it's not broken, fix it until it is.
My Blog