public string MaximoGoleador(string equipo)
        {
            int    cont = 0;
            string name = "";

            foreach (Gol g in goles)
            {
                if (listaJugadores.GetJugador(g.Jugador).EquipoJugador == equipo)
                {
                    int jugadorCont = 0;
                    foreach (Gol g1 in goles)
                    {
                        if (g.Jugador == g1.Jugador)
                        {
                            jugadorCont++;
                        }
                    }
                    if (jugadorCont > cont)
                    {
                        cont = jugadorCont;
                        name = g.Jugador;
                    }
                }
            }

            return(name);
        }
        public List <Jugar> GetTitularesVisitantes(List <Jugar> jugadores, ListaJugadores listaJugadores)
        {
            List <Jugar> titulares = new List <Jugar>();

            foreach (Jugar j in jugadores)
            {
                if (j.EquiposVisitante == listaJugadores.GetJugador(j.NombreJugador).EquipoJugador)
                {
                    titulares.Add(j);
                }
            }

            return(titulares);
        }
        public List <Gol> GetGolesV(List <Gol> goles, ListaJugadores listaJugadores)
        {
            List <Gol> golesV = new List <Gol>();

            foreach (Gol g in goles)
            {
                if (g.EquipoVisitante == listaJugadores.GetJugador(g.Jugador).EquipoJugador)
                {
                    golesV.Add(g);
                }
            }

            return(golesV);
        }
        public List <Gol> GetGolesL(List <Gol> goles, ListaJugadores listaJugadores)
        {
            List <Gol> golesL = new List <Gol>();

            foreach (Gol g in goles)
            {
                if (g.EquipoLocal == listaJugadores.GetJugador(g.Jugador).EquipoJugador)
                {
                    golesL.Add(g);
                }
            }

            return(golesL);
        }