public string Listar() { string res = ""; ClaseBase t = inicio; while (t != null) { res += t.ToString() + Environment.NewLine; t = t.Siguiente; } return(res); }
public string ReporteInverso() { string res = ""; ClaseBase temp = inicio; while (temp != null) { res = temp.ToString() + "\r\n" + res; temp = temp.Siguiente; } return(res); }
public string listarInverso() { string cdn = ""; ClaseBase temp = inicio; while (temp != null) { cdn = temp.ToString() + "\r\n" + cdn; temp = temp.siguiente; } return(cdn); }