I have seen some developers use the return statement in a catch block. Why/when would this be a useful technique to employ?
EDIT: I actually just saw the return keyw
Any situation where you have an alternative if the attempt fails. An example could be checking if file is available for some operation
file
operation
bool IsComplete = false; try { // FileStream currentWriteableFile = File.OpenWrite(sFileLocation); } catch(Exception) { return false; }