/// <summary> /// Lee un archivo Xml /// </summary> /// <param name="gim">una universidad</param> /// <returns>retorna la universidad si fue exitosa la lectura</returns> public static Universidad Leer(Universidad gim) { try { Archivos.Xml <Universidad> xml = new Archivos.Xml <Universidad>(); xml.Leer("Universidad.xml", out gim); return(gim); } catch (Exception e) { throw new ArchivosException(e); } }