title: How to handle exception without using try catch?
body: <pre><code>using (SqlConnection con = new SqlConnection())
  {
       try
       {
            con.Open();
       }
       catch (Exception ex)
       {
            MessageBox.Show(ex.Message);
       }
  }
  </code></pre>
  
  <p>This works fine. But I want to know can we handle exception without using <code>try catch</code> like some thing <code>if else</code>? Or is it mendetory to use <code>try catch</code>.</p>