fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. string helloWorld = @"""Hello World""";
  8. string test1 = $"He said to me, {helloWorld}. How are you?";
  9.  
  10. helloWorld = "Hello World";
  11. string test2 = $@"He said to me, ""{helloWorld}"". How are you?";
  12.  
  13. Console.WriteLine($"{test1}\n{test2}");
  14. }
  15. }
Success #stdin #stdout 0.03s 26112KB
stdin
Standard input is empty
stdout
He said to me, "Hello World". How are you?
He said to me, "Hello World". How are you?