実習 here文字列
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ConsoleApplication11 { class Program { static void Main() { string s = @"1 12 123 1234"; string s2 = @"test"""; // here文字列中に""と書くと、"の意味になる。 Console.WriteLine(s); Console.WriteLine(s2); } } }
↓
1 12 123 1234 test"