title: Parse string to float number C#
body: <p>I have float number in string. there is one problem. Number uses "." not "," as decimal point.</p>
  
  <p>This code is not working:</p>
  
  <pre><code>MyNumber = float.Parse("123.5");
  </code></pre>
  
  <p>I know that I can use string replace function to "repair" this string before Parsing.</p>
  
  <pre><code>MyNumber = float.Parse("123.5".Replace('.',',');
  </code></pre>
  
  <p>But is there any other way to do it?</p>