Sha*_*ram 3 c# linq dictionary
我有两个不同的词典:
Dictionary<int, User> X; Dictionary<int, User> Y;
我想使用LINQ从它们获取相同键的列表.
L.B*_*L.B 5
var sameKeys = X.Keys.Intersect(Y.Keys).ToList();
归档时间:
12 年,9 月 前
查看次数:
267 次
最近记录: