How do i convert Strings to Integers?
So, just got into programming.
Hopefully this can help me to explain:
String age = "";
Console.WriteLine("Enter age:");
age = Console.ReadLine();
Now i want to take that age, and convert it to an integer so as i can manipulate it to work out the users age in Months, weeks, days, hours, minutes and seconds.
As i recall, you can do this with a Console.<something> command, and i remember the command having a '32' in it somewhere, any help would be appreciated.
New to this site also, hoping it will help me through college, as the course consists of using C#. :)
-Stuart