Home > Net >  C # List. Sort () to be sorted, the reason is that IComparer.Com pare said () method returns the inc
C # List. Sort () to be sorted, the reason is that IComparer.Com pare said () method returns the inc

Time:11-07

C # List. Sort () appear error can't sorting, reason is IComparer.Com pare said () method returns the inconsistent results, compared with itself is not equal to a value, or a value compared with another value repeat produce different results
There are bosses know how to solve

CodePudding user response:

A.Com pareTo (b)
  •  Tags:  
  • C#
  • Related