From 95e71b8c8fdb9983f9fa2b2c2b798ac6ed426215 Mon Sep 17 00:00:00 2001 From: Oli Sturm Date: Tue, 7 Nov 2023 22:24:33 +0000 Subject: [PATCH] formatting --- samples/CS10/Program.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/samples/CS10/Program.cs b/samples/CS10/Program.cs index dbfcd97..ff288b4 100644 --- a/samples/CS10/Program.cs +++ b/samples/CS10/Program.cs @@ -15,7 +15,11 @@ namespace CS10 { static void Main(string[] args) { // Nested property patterns, now shorter: - var customer = new Customer { Address = new Address { City = "Castle Douglas", Country = "UK" } }; + var customer = new Customer { + Address = new Address { + City = "Castle Douglas", Country = "UK" + } + }; if (customer is { Address.City: "Castle Douglas" }) { Console.WriteLine("This customer lives around the corner"); }