How do I sort an array of custom classes?

Posted by Kovu on Stack Overflow See other posts from Stack Overflow or by Kovu
Published on 2010-03-18T20:12:56Z Indexed on 2010/03/18 20:31 UTC
Read the original article Hit count: 296

Filed under:
|
|
|
|

I have a class with 2 strings and 1 double (amount).

class Donator

  • string name
  • string comment
  • double amount

Now I have a Array of Donators filled.
How I can sort by Amount?

© Stack Overflow or respective owner

Related posts about c#2.0

Related posts about c#