Firstly hello to everyone,
I wanted to ask this question before, but was always ashamed I didn't know the answer.
This can not be a valid method, can it?
Of course this will compile, but there must be some danger in doing so, I haven't tried placing a try catch around the return statement - would the return invalidate the try and catch?Code:private string getString() { string thisString; return anotherStringMethod(thisString); }