Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- /*
- from Lesson 7 of C# console programming tutorial series at following URL:
- http://williammillerservices.com/windows-c-console-programming/
- !!! WON'T COMPILE !!!
- demonstrates improperly escaped backslash
- GitHub gist -> https://gist.github.com/kyrathasoft/eac1e11ef32a00bdf910ed889b3589ba
- Pastebin.com -> https://pastebin.com/AQwEc7RM
- */
- namespace ExampleOfBackslashImproperlyEscaped
- {
- class BadBackslash
- {
- static void Main(string[] args)
- {
- Console.Write("\ is a backslash character.");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement