I have an overloaded method where I can pass various datatypes in the method signature…
One of these accepts a ParamArray
[code]
Public Sub myMethody(index as Integer,paramArray values() As String)
[code]
and I call it like
myMethod(3,"A","B","C")
which works just fine
but now I’d like to create another overload that accepts a “normal” array as well
[code]
Public Sub myMethody(index as Integer, values() As String)
[code]
and I’d like to call it this way
myMethod(3,anArray)
However if I do it this way… I get “there is more than one item with this name …”
I would like to keep all the signatures is a consistent format if possible