title: Better use int.Parse or Convert.ToInt32
body: <blockquote>
  <p><strong>Possible Duplicate:</strong><br />
  <a href="https://stackoverflow.com/questions/199470/whats-the-main-difference-between-int-parse-and-convert-toint32">Whats the main difference between int.Parse() and Convert.ToInt32 </a></p>
  </blockquote>
  
  <p>I would like to know what are PRO and CONS of using Convert.ToInt32 VS int.Parse.</p>
  <p>Here an example of syntax I am using:</p>
  <pre><code>            int myPageSize = Convert.ToInt32(uxPageSizeUsersSelector.SelectedValue);
  
              int myPageSize = int.Parse(uxPageSizeUsersSelector.SelectedValue);
  </code></pre>
  <p>I also found out these articles, maybe they can help for a discussion:</p>
  <ul>
  <li><a href="http://dotnetperls.com/int-parse" rel="nofollow noreferrer">http://dotnetperls.com/int-parse</a></li>
  <li><a href="http://aspdotnethacker.blogspot.com/2010/04/difference-between-int32parsestring.html" rel="nofollow noreferrer">http://aspdotnethacker.blogspot.com/2010/04/difference-between-int32parsestring.html</a></li>
  <li><a href="http://aspdotnethacker.blogspot.com/p/visual-studio-performance-wizard.html" rel="nofollow noreferrer">http://aspdotnethacker.blogspot.com/p/visual-studio-performance-wizard.html</a></li>
  </ul>