Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- /*
- from Lesson 3 of C# console programming tutorial series at following URL:
- http://williammillerservices.com/windows-c-console-programming/
- GitHub gist -> https://gist.github.com/kyrathasoft/028ccbb83366e117b0c5920856e95d3a
- Pastebin.com -> https://pastebin.com/fRpW6wBk
- */
- namespace HowdyGuys
- {
- class WhatsUpDoc
- {
- static void Main()
- {
- Console.Write("What is your name? ");
- string sName = Console.ReadLine();
- string sMsg = "Hello, " + sName + ". Nice ";
- sMsg += "to meet you!";
- Console.WriteLine(sMsg);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement