Guest User

Untitled

a guest
Dec 16th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. var domain = "contoso";
  2. var username = "jdoe";
  3.  
  4. // Escape characters using verbatim identifier "@"
  5. Console.WriteLine($@"{domain}\{username}");
  6. Console.WriteLine($@"Your username is ""{username}"" for the domain ""{domain}""");
  7.  
  8. // Result:
  9. // contoso\jdoe
  10. // Your username is "jdoe" for the domain "contoso"
Add Comment
Please, Sign In to add comment