With methods that return function results, certain situations pose a problem that usually requires a bit of extra effort; specifically, what should you do when the function returns more than just one value as the result? So far you have seen two possibilities that can avoid this problem:
You pass parameters by reference, essentially “misusing” the passed variable as a return value. This is similar to the TryParse method of many primitive data types, so you can determine whether a string can be converted into a primitive data type.
You create a support class or structure that combines the returned values.
Tuple(Of T) provides yet a third option. The generic Tuple class reconciles as many values as you specify parameters (up to eight) when ...