title: int.TryParse() returns false for "#.##"
body: <p>I'm having a function which receives string parameters and convert them to integers. <br/>
  For safe conversion int.TryParse() is used.</p>
  
  <pre><code>public IEnumerable&lt;object&gt; ReportView(string param1, string param2)
  {
    int storeId = int.TryParse(param1, out storeId) ? storeId : 0;
    int titleId = int.TryParse(param2, out titleId) ? titleId : 0;
    IEnumerable&lt;object&gt; detailView = new Report().GetData(storeId, titleId);
    return detailView;
  }
  </code></pre>
  
  <p>Function call ReportView(“2”,”4”)--> int.Tryparse successfully parsing the numbers <br/>
  Function call ReportView(“2.00”,”4.00”) --> int.TryParse fails to parse the numbers <br/> </p>
  
  <p>Why? Any idea?</p>
  
  <p><b>@Update</b><br/>
  Sorry guys, my concept was wrong. I'm new to c#, I thought Int.TryParse() would return integral part and ignore the decimals. But it won't, even Convert.ToInt32("string") <br/>
  Thanks to all.</p>