Better use int.Parse or Convert.ToInt32

Viewed 22687

Possible Duplicate:
Whats the main difference between int.Parse() and Convert.ToInt32

I would like to know what are PRO and CONS of using Convert.ToInt32 VS int.Parse.

Here an example of syntax I am using:

            int myPageSize = Convert.ToInt32(uxPageSizeUsersSelector.SelectedValue);

            int myPageSize = int.Parse(uxPageSizeUsersSelector.SelectedValue);

I also found out these articles, maybe they can help for a discussion:

4 Answers
Related