In ruby you can do something like this:
def method(a, b) ... end
myMethod(*myArray)
So if myArray had 2 items, it would be the equivalent of this:
myMehtod(myArray[0], myArray[1])
So that in the method body, a == myArray[0] and b == myArray[1]
Can you do this in C#? (So I can have a method declared with explicit arguments, instead of just taking an array as the argument)
EDIT: I should've been more specific about the method being called.