Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var domain = "contoso";
- var username = "jdoe";
- // Escape characters using verbatim identifier "@"
- Console.WriteLine($@"{domain}\{username}");
- Console.WriteLine($@"Your username is ""{username}"" for the domain ""{domain}""");
- // Result:
- // contoso\jdoe
- // Your username is "jdoe" for the domain "contoso"
Add Comment
Please, Sign In to add comment