Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.29 KB | None | 0 0
  1.         Dictionary<int, int> Dict1 = new Dictionary<int, int>();
  2.         Dictionary<int, int> Dict2 = new Dictionary<int, int>();
  3.         Dict1[1] = 2;
  4.         Dict2[2] = 3;
  5.         Dict1.ToDictionary(i =>
  6.         {
  7.             Dict2[i.Key] = i.Value;
  8.             return i.Key;
  9.         });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement