可悲的是,我以前做过。我记得我想通了。今天,我似乎不记得如何做到这一点。
所以你有这个列表:
public List<taters> getTaters(){
var firstTaters = from s in n.veggies
where s.active == true
select s.html;
var secondTaters = from s in n.roots
where s.active == true
select s.html;
//now here I want to do something to combine the two
//(e.g. a Concat or some such) and
//THEN I want to order the concatenated list of results
//by 'date_created' descending.
}
上面评论中的问题。将它们连接在一起后如何订购它们?