Ejemplo n.º 1
0
        private void CarModel_GameEnd(object sender, GameEndEventArgs e)
        {
            var fileMgr = new FileReadWriteManager();

            fileMgr.WriteOutputToFile(e.CarFoundResults.ToList());
            Environment.Exit(0);
        }