Which one out of following two is best wrt to performance and standard practice. How does .NET internally handles these two code snippets?
Code1
If(r
I would use Code 1, because if I add something later after the if statement, I'm still positive it will execute, without me needing to remember to remove the return clause from where it is in Code 2.
Code 1
if
return
Code 2