Is it possible for a function to return two values?
Array is possible if the two values are both the same type, but how do you return two different type values?
Not directly. Your options are either to return some kind of custom struct or class with multiple properties, use KeyValuePair if you simply want to return two values, or use out parameters.