This commit is contained in:
Oli Sturm
2022-05-12 16:35:34 +01:00
parent eecba258b3
commit 0a28574514
3 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -18,7 +18,7 @@
Address = new Address { City = "Castle Douglas", Country = "UK" }
};
if (customer is { Address.City: "Castle Douglas" }) {
Console.WriteLine("Dieser Kunde wohnt gleich um die Ecke");
Console.WriteLine("This customer lives around the corner");
}
}
}