//Desde aqui // public bool AgregarLibroFisico(String titulo, String autor, String anho, String tipo) { bool retorno = true; foreach (Libro b in LibrosFisicos) { if (titulo.Equals(b.Titulo)) { throw new Exception("Ya existe dicho libro fisico"); } } if (LibrosFisicos.Capacity == LibrosFisicos.Count) { throw new Exception("Lista llena"); } Libro a = new Libro(titulo, autor, anho, tipo); LibrosFisicos.Add(a); Libros(); return(retorno); }