title: Convert string to decimal with format
body: <p>I need convert a String to a decimal in C#, but this string have different formats.</p>
  
  <p>For example:</p>
  
  <p>"50085"</p>
  
  <p>"500,85"</p>
  
  <p>"500.85"</p>
  
  <p>This should be convert for 500,85 in decimal. Is there is a simplified form to do this convertion using format?</p>