public void comprobarExcepcionFueraDeRango(int indice) { var lista = new TListaUltimoUsado(); lista.Add("Primero"); lista.Add("Segundo"); lista.Add("Tercero"); lista.elemento(indice); }
public string comprobarAccesoPorIndice(int indice) { var lista = new TListaUltimoUsado(); lista.Add("Primero"); lista.Add("Segundo"); lista.Add("Tercero"); return(lista.elemento(indice)); }