private void VerificarTiposCorrectos(int fila, string[] elemsFila) { int col = 0; foreach (string elemento in elemsFila) { Elem elem = new Elem(elemento); if (!elem.TipoCorrecto(Definicion.Tipo)) { throw new Exception(Mensajes.ElementoDeTipoIncorrectoEnLaMatriz(Definicion.Nombre, fila, col)); } col++; } }