Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialprasad b
518 Pointsthe code is not taking the input....after executing
class Program { static void Main() { System.Console.Write("Enter the time of excercise: " );
string entry= System.Console.Readline ();
}
}
2 Answers
Jennifer Nordell
Treehouse TeacherHi prasad! You're doing fine, but you have a tiny typo. You've typed Readline
instead of ReadLine
. Note the capital "L" in the second version.
Hope this helps!
Nassir ALGhumlasi
4,529 PointsThanks Jennifer that's really help out.
Jeremy Venerella
3,137 PointsJeremy Venerella
3,137 PointsAlso, make sure you save before running the mcs Program.cs command. If you do not, it will compile the previous save.
prasad b
518 Pointsprasad b
518 Pointsthanks a lot Jennifer....it worked
Matthew Stevenson
4,877 PointsMatthew Stevenson
4,877 PointsThank you! This answer helped me too.