You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
BowlingScoreApp/Sources/BowlingStub/StubJoueur.cs

19 lines
293 B

using System;
public class StubJoueur
{
private List<Joueur> listJoueurs = new List<Joueur>();
public StubJoueur()
{
}
public List<Joueur> ListJoueurs(int n = 10)
{
for (int i = 0; i < n; i++)
{
listJoueurs.Add(new Joueur() { Pseudo = "Joueur "+i+1 });
}
}
}