Depends where you want to get the users input from. Is this a console app, a windows app, a web app?
I suggest you look at the Integer.TryParse() method, or the Convert.ToInt32() method for more informaton on converting strings to integers.
/- Sam Judson : Wrox Technical Editor -/
|