Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- /*
- from Lesson 4 of C# console programming tutorial series at following URL:
- http://williammillerservices.com/windows-c-console-programming/
- GitHub gist -> https://gist.github.com/kyrathasoft/ab43a77559ba7a95de2519019953a78f
- Pastebin.com -> https://pastebin.com/c33gAU71
- */
- namespace HowdyGuys{
- class WhatsUpDoc{
- static void Main(){
- Console.Write("What is your name? ");
- string sName = Console.ReadLine();
- Console.Write("And where are you located? ");
- string sFrom = Console.ReadLine();
- Console.WriteLine("Hello, {0}. I see that you're from {1}.", sName, sFrom);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement