I want to organize a list that was generated randonly in Crescent/Decrescent (Most needed is Crescent decrescent is for knownledge). Thank you.
List<int> jogo = new List<int>(16); //The kind of list and it's nameOrganize a list in Crescent/Decrescent mode
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

AlanRank #669 · 3.6K reputationPosted Mar 18, 2008, 3:41 PM EDT
To organize the list into ascending order use:
jogo.Sort();
For descending order, either read the sorted list backwards or apply the Reverse method to it:
jogo.Reverse();
Sergio Fonseca54 reputationPosted Mar 18, 2008, 5:19 PM EDT
I've growed a lot in C# since I joined this forum. Also I'm your fan. Your ever helping this forum's peoples and It's so cool for beginners have an advanced person to help us.
AlanRank #669 · 3.6K reputationPosted Mar 19, 2008, 4:19 AM EDT
Thanks for that, Sergio.
I'm a bit of an evangelist for C# and so it's good to help people who are new to the language :-)