V
VM
Can collections help me pass several parameters to a method? For example, I
need to pass 10 different string and integer values to one method. How would
I declare a Collections type, store these 10 string and int values into the
Collection, and then pass just the Collection with the Method call? It sure
beats typing every single value every time I want to invoke this method.
Thanks.
need to pass 10 different string and integer values to one method. How would
I declare a Collections type, store these 10 string and int values into the
Collection, and then pass just the Collection with the Method call? It sure
beats typing every single value every time I want to invoke this method.
Thanks.