How to take 2 outputs from a function - C#