Add Spieler class with constructor and properties
This commit is contained in:
parent
487fbfcf10
commit
09c17c8bd0
11
lotto.cs
11
lotto.cs
@ -10,4 +10,15 @@ namespace ProjektGlueckspiel
|
|||||||
// Hier können Sie Ihre Lotto-Logik implementieren.
|
// 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user