Shalini Juneja

Shalini Juneja

  • NA
  • 575
  • 814.1k

How to get items in order by min to max and move to temp list c#?

May 3 2011 11:32 PM
How to get items in order by min to max and move to temp list c#?


So i am trying to take a list of items and get it so that it is ordered by the min value first and so on. Then i wish to have it moved to a temporary list and check to see if the next item is equal to the previous by adding on and so forth. this is what i have done so far, but it is going from max to min, so i have it subtracting 1 instead of adding.

Answers (2)