如果我有一个包含以下数据的 IList:
{ Price = 220, OtherData = "Zsdd1" },
{ Price = 202, OtherData = "Zddsd2" },
{ Price = 20, OtherData ="S2A4" },
{ Price = 202, OtherData = "ZfdfZ3" },
{ Price = 20, OtherData ="SA4" }
我怎样才能得到最大的OtherData,在上面的“SA4”和S2A4“将是最大值的情况下。我想返回数字4。我怎样才能做到这一点?