こんにちは、次のタイプの辞書が 2 つあります。
SortedDictionary<string, ClusterPatternCommonMetadata> PatternMetaData { get; set; }
ClusterPatternCommonMetadata オブジェクトは次のようになります。
int ChunkQuantity { get; set; }
SortedDictionary<int, int> ChunkOccurrences { get; set; }
まず、2 つの辞書に存在する PatternMetaData のキーを見つける方法が必要です。私はこのように見つけます:
List<string> commonKeysString=
vector.PatternMetaData.Keys.Intersect(currentFindingVector.PatternMetaData.Keys)
次に、作成されたキーの共通の値を見つける必要があります...
そのような操作を行うための高速な方法 (ラムダ、linq など) はありますか
ありがとう