Initial commit

This commit is contained in:
Mark J Price 2022-07-08 16:05:38 +01:00
parent 36b9464af2
commit 4a4a0b8e20
4 changed files with 18 additions and 6 deletions

View file

@ -14,7 +14,13 @@ else
WriteLine($"This is not a valid age: {input}");
}
string films = "\"Monsters, Inc.\",\"I, Tonya\",\"Lock, Stock and Two Smoking Barrels\"";
// C# 1 to 10: Use escaped double-quote characters \"
// string films = "\"Monsters, Inc.\",\"I, Tonya\",\"Lock, Stock and Two Smoking Barrels\"";
// C# 11 or later: Use """ to start and end a raw string literal
string films = """
"Monsters, Inc.","I, Tonya","Lock, Stock and Two Smoking Barrels"
""";
WriteLine($"Films to split: {films}");