How do I sort an array of custom classes?

后端 未结 7 1019
暖寄归人
暖寄归人 2021-02-05 15:49

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

class Donator

  • string name
  • string comment
  • double amount

Now I have a A

7条回答
提交回复
热议问题