📅  最后修改于: 2022-03-11 14:49:11.258000             🧑  作者: Mango
var values = dictionary.Where(x => someKeys.Contains(x.Key)).Select(x => x.Value);
var keys = dictionary.Where(x => someValues.Contains(x.Value)).Select(x => x.Key);