title: Why does Try-Catch require curly braces
body: <p>Just curious: Why is the syntax for <a href="http://msdn.microsoft.com/en-us/library/vstudio/0yd65esw.aspx" rel="noreferrer">try catch in C#</a> (Java also?) hard coded for multiple statements? Why doesn't the language allow:</p>
  
  <pre><code>int i;
  string s = DateTime.Now.Seconds % 2 == 1 ? "1" : "not 1";
  try
     i = int.Parse(s);
  catch
     i = 0;
  </code></pre>
  
  <p>The example is for trivial purposes only. I know there's <a href="http://msdn.microsoft.com/en-us/library/system.int32.tryparse.aspx" rel="noreferrer"><code>int.TryParse</code></a>.</p>