How to surround code blocks with try/catch in VisualStudio 2010
Try Ctrl + K, Ctrl + S.
Source
Press "Ctrl + K, S" and then in drop down menu double click "try" - it's a "try-catch" template.
Try Ctrl + K, Ctrl + S.
Source
Press "Ctrl + K, S" and then in drop down menu double click "try" - it's a "try-catch" template.