Advertisement
kyrathasoft

heybob

Jul 22nd, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.64 KB | None | 0 0
  1. using System;
  2.  /*
  3. from Lesson 7 of C# console programming tutorial series at following URL:
  4. http://williammillerservices.com/windows-c-console-programming/
  5.  
  6. demonstrates use of escape sequence to display quotation marks on console
  7. GitHub gist -> https://gist.github.com/kyrathasoft/7370a39d09fe5a57a186f1f58b73afe1
  8. Pastebin.com -> https://pastebin.com/F35QxAR1
  9. */
  10. namespace ExampleOfEscapingQuotationMarks
  11. {
  12.     class HeyBob
  13.     {
  14.         static void Main(string[] args)
  15.         {
  16.             Console.Write("\"Hey, Bob, ");
  17.             Console.Write("join me for ");
  18.             Console.Write("lunch?\" asked Tim.");
  19.         }
  20.     }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement