Sign In | Subscribe
Start learning today, and be successful in your academic & professional career. Start Today!
Loading video...
This is a quick preview of the lesson. For full access, please Log In or Sign up.
For more information, please see full course syllabus of C#
  • Discussion

  • Study Guides

  • Table of Contents

Bookmark and Share
Lecture Comments (6)

1 answer

Last reply by: John Snape
Wed Dec 17, 2014 6:46 PM

Post by Prince Chris on December 16, 2014

How can one download this videos for offline view. I have been looking for a way to download it but cannot find it

0 answers

Post by John Snape on January 22, 2014

The exercise files listed above are the wrong ones. I'm not sure what happened, but I will contact the site administrator and get it fixed. I'm sorry for the problems.

2 answers

Last reply by: candace castro
Mon May 11, 2015 12:34 AM

Post by Quay San on January 21, 2014

How does the Exercise Files work?  I open it, and it has no relationship to the videos

Accepting Input

  • Console.ReadLine() allows your user to type a line of text, followed by the enter key, into your program
  • You can use the Console Key Info to see if your user pressed the Alt, Shift or Ctrl keys
  • You'll need to use the ToString method if you are using ConsoleKeyInfo.Key to get the key press
  • The Console.ReadKey() method writes out the key press to the console window as the user types