thegrudge

QuotesInStrings

Nov 13th, 2014
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.33 KB | None | 0 0
  1. using System;
  2. class QuotesInStrings
  3. {
  4.     static void Main()
  5.     {
  6.         string firstString = "The \"use\" of quotations causes difficulties.";
  7.         string secondString = @"The ""use"" of quotations causes difficulties.";
  8.         Console.WriteLine("The strings are: \n{0}\nand\n{1}\n", firstString, secondString);
  9.     }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment