C# How does the MailAddress constructor validate mail addresses
<p>In reading about what would be the best way to validate a mail address via regular expressions, I came across with an attempt to validate with</p>

<pre><code>try
{
    new MailAddress(input);
}
catch (Exception ex)
{
    // invalid
}
</code></pre>

<p>What method does the <code>MailAddress</code> class use to ensure a mail address is valid?</p>
