public void RemoveOne(Score score) { if (list.Count > 0) { for (int i = 0; i < list.Count; i++) { if (list[i].player == score.player) { list.RemoveAt(i); } } } }
public void AddOne(Score score) { list.Add(score); }