[c#] How do I exit from a function?