How to make an exception for "," and "." in KeyPress Event?
<p>Note: This is not about EXCEPTIONS!</p>

<p>I'm trying to make a textbox accept everything but Symbols and Punctations... but I need to allow "," and "." . I'm using:</p>

<pre><code>if (char.IsPunctuation(e.KeyChar) == true)
{
     e.Handled = true;
}

if (char.IsSymbol(e.KeyChar) == true)
{
     e.Handled = true;
}
</code></pre>

<p>Is there anyway to make an exception for those two Characters ( , and . ) ?</p>
