AJMitev

Cool Catch/Try Method

Feb 17th, 2017
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. try
  2. {
  3.  
  4.  
  5. }
  6.  catch (Exception ex)
  7.             {
  8.                 string uriToLaunch = "http://stackoverflow.com/search?q=" + ex.Message;
  9.                
  10.                 var success = Process.Start(uriToLaunch);
  11.             }
Add Comment
Please, Sign In to add comment