title: c#: parse decimals using different styles
body: <p>I'm playing with decimal parsing and I've encountered something that I could not explain by reading the msdn documentation:
  This code returns false:</p>
  
  <pre><code>decimal.TryParse(" 1.1", NumberStyles.AllowDecimalPoint, CultureInfo.InvariantCulture, out d)
  </code></pre>
  
  <p>But this code returns true:</p>
  
  <pre><code>decimal.TryParse(" 1.1", out d)
  </code></pre>
  
  <p>But from what I've read on msdn, <code>NumberStyles.AllowDecimalPoint</code> has to do only with the separator, so why the first version of the code fails to parse the decimal string?</p>