I have a method that accepts a variable number of string parameters. The problem is that the parameters originate as a variety of different types. This means that i am required to explicitly convert all types to strings (with Convert) as i pass them to the method. Is it possible for the method to do this implicitly, automatically converting parameters, regardless of type, into strings?
Share
For .NET 4.0 you can drop the
.ToArray()call as well