From 09c17c8bd0cbc69f96db632ff9602c04fa1d5585 Mon Sep 17 00:00:00 2001 From: amineelhajami Date: Wed, 4 Jun 2025 12:53:03 +0200 Subject: [PATCH] Add Spieler class with constructor and properties --- lotto.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lotto.cs b/lotto.cs index 5d81724..f77f4b3 100644 --- a/lotto.cs +++ b/lotto.cs @@ -10,4 +10,15 @@ namespace ProjektGlueckspiel // Hier können Sie Ihre Lotto-Logik implementieren. } } + class Spieler + { + public string Name { get; set; } + public int[] Tipps { get; set; } + + public Spieler(string name, int[] tipps) + { + Name = name; + Tipps = tipps; + } + } } \ No newline at end of file