Optional parameters question.
SL gives an example of setting an optional parameter, but I can't figure out how to use the passed arguments in a computation. How do I loop through the array that contains the arguments? Example: if I pass two numbers, how do I square both of them? They would be part of an array if the parameter was (*x), correct? Now what? How do I pull each number and multiply it to itself? x*x, x*x and so on for each number passed as an argument to a method with an optional parameter.