title: Should I always wrap my code in try...catch blocks?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1722964/when-to-use-try-catch-blocks">When to use try/catch blocks?</a><br>
    <a href="https://stackoverflow.com/questions/4827628/main-method-code-entirely-inside-try-catch-is-it-bad-practice">Main method code entirely inside try/catch: Is it bad practice?</a><br>
    <a href="https://stackoverflow.com/questions/5199146/when-to-use-try-catch-blocks">When to use Try Catch blocks</a>  </p>
  </blockquote>
  
  
  
  <p>Exceptions can occur about anywhere, so this made me think: should I always wrap my code in try..catch blocks?</p>
  
  <p>This is for C#.</p>
  
  <p>(I might be missing something fundamental here, as I'm still a newbie)</p>
  
  <p>EDIT: It appears that this was indeed not a very smart question. The only thing we have learnt at school is to use try...catch to prevent crashes. What we did with the exception was showing a MessageBox to tell the user that 'something went wrong when writing this file'.</p>