Advertisement
kyrathasoft

goodbackslash

Jul 23rd, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.54 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. demonstrates improperly escaped backslash
  6. GitHub gist -> https://gist.github.com/kyrathasoft/a9e7756ea7a15b5ec89b39c606441a77
  7. Pastebin.com -> https://pastebin.com/eeAbHy6n
  8. */
  9. namespace ExampleOfBackslashEscapedCorrectly
  10. {
  11.     class GoodBackslash
  12.     {
  13.         static void Main(string[] args)
  14.         {
  15.             Console.Write("\\ is a backslash character.");
  16.         }
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement