TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Stuart Cowen
NA
7
1.5k
How do i convert Strings to Integers?
Jun 16 2013 6:26 PM
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
Reply
Answers (
7
)
how i can to learn c# fast
Searching and opening files in a listBox