Advertisement
kyrathasoft

howdy

Jul 21st, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.63 KB | None | 0 0
  1. using System;
  2. /*
  3. from Lesson 3 of C# console programming tutorial series at following URL:
  4. http://williammillerservices.com/windows-c-console-programming/
  5. GitHub gist -> https://gist.github.com/kyrathasoft/028ccbb83366e117b0c5920856e95d3a
  6. Pastebin.com -> https://pastebin.com/fRpW6wBk
  7. */
  8. namespace HowdyGuys
  9. {
  10.     class WhatsUpDoc
  11.     {
  12.         static void Main()
  13.         {
  14.             Console.Write("What is your name? ");
  15.  
  16.             string sName = Console.ReadLine();
  17.             string sMsg = "Hello, " + sName + ". Nice ";
  18.             sMsg += "to meet you!";
  19.             Console.WriteLine(sMsg);
  20.         }
  21.     }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement