Exemplo n.º 1
0
        public void stop(int sn, string typ)
        {
            Deelnemer result = null;

            if (typ.Equals("individueel"))
            {
                result = individueel.Find(x => x.getStartnummer() == sn);
            }
            if (typ.Equals("team"))
            {
                result = team.Find(x => x.getStartnummer() == sn);
            }
            result.stop();
            voegToeFinished(sn.ToString(), result.getRondetijd().ToString(), typ);
        }