#I get this error and I dont know why

1 messages · Page 1 of 1 (latest)

tidal pecan
#
topPlayers = listOfCtr.OrderBy(item => item.aiScore).Reverse().ToList();

i get this error
At least one object must implement IComparable.
does anyone know why? aiScore is an int

half lantern
#

Either aiscore isn't an int or something else is wrong, though I can't tell because you only have a fraction of the code here

tidal pecan