2
public class MySoft
{
public string SoftName { get; set; }
public int Version { get; set; }
public decimal Price { get; set; }
}
由于DATAS我有“MySoft”的名单(softname,版本,价格):获得最大的价值
SoftA 1 25
SoftB 1 35
SoftB 2 12
SoftB 3 24
SoftA 2 14
我希望得到保留名称,价格和版本与最高版本。
结果应该是:
SoftA 2 14
SoftB 3 24
你有一个想法?
感谢,