 悬赏园豆:5
                [已解决问题] 
            
                    解决于 2018-03-26 11:49
                悬赏园豆:5
                [已解决问题] 
            
                    解决于 2018-03-26 11:49 
                 
        感觉写的很麻烦
 var a = from g in ResultPointsGroup
 select (
 (
 from gg in g
 select gg.OutputValue + slope * (gg.SetValue - gg.InputValue)).Max() - (
 from gg in g
 select gg.OutputValue + slope * (gg.SetValue - gg.InputValue)).Min()
);
ResultPointsGroup
.select(a=>
a.max(n=>n.OutputValue + slope * (n.SetValue - n.InputValue))-a.min(n=>n.OutputValue + slope * (n.SetValue - n.InputValue)
})
10分100分都是满分