Advertisement
Guest User

Untitled

a guest
Nov 21st, 2017
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. public Dictionary<Object, Object> MakeOne(params Dictionary<Object, Object>[] dics)
  2. {
  3. Dictionary<Object, Object> res = new Dictionary<Object, Object>();
  4. foreach (Dictionary<Object, Object> d in dics)
  5. {
  6. res = res.Union(d).ToDictionary(k => k.Key, v => v.Value);
  7. }
  8. return res;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement