I have two dictionaries, namely
Dictionary DictA=new Dictionary(); Dictionary DictB=new Dictiona
DictA.Join(DictB, a => a.Key, b => b.Key, (a,b) => new KeyValuePair(b.Value,a.Key)) .ToDictionary(x => x.Key, x => x.Value);