Elegant TryParse
<p>I feel that every time I use TryParse that results in somewhat ugly code, mainly I am using it this way :</p>

<pre><code>int value;
if (!int.TryParse(someStringValue, out Value)
  value = 0;
</code></pre>

<p>Is there some more elegant solution for parsing all basic DataTypes, to be specific is there a way to do fail safe parsing in one line ? By fail safe I assume setting default value if parsing fails without exception.</p>

<p>btw. this is for cases where I must do some action even if parsing fails, just using the default value. </p>
