Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class DeclareTwoStringsInTwoWays
- {
- static void Main()
- {
- string text1 = "The \"use\" of quatations causes difficulties.";
- string text2 = @"The ""use"" of quatations causes difficulties.";
- Console.WriteLine("Text using \\:\n{0}\n",text1);
- Console.WriteLine("Text using @:\n{0}\n", text2);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment