I am trying to remove the minimum value of a List, the main() function calls the removeSmallest() function and Writelines the return List, but all I get is:
"System.Collection.Generic.List`1[System.Int32]"
Varibles explanations: "n" --> counts how often the foreach-lopp ran in order to paste earlyer values in the List at the right time by saving them in, "posa" --> saves the spot for earlyer values to past them in the List at the right, "a" --> saves the previous number to compare it with the next one,
Lists: "numbers" --> is the input, "list" --> output,
You can find my Code here or [here][2]
THX for ur Help!!
[2]: http://ideone.com/Y6lUSC ideone.com