When your in a situation where you need to return two things in a single method, what is the best approach?
I understand the philosophy that a method should do one t
In the C/C++ world it would actually be quite common to pass two variables by reference (an example, your no. 2).