Guest User

Untitled

a guest
Jan 20th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. Dictionary<int, Tuple<int, string, string>> testdict
  2.  
  3. testdict.Add(1, new Tuple<int, string, string>(1, "555", "Light Blue"));
  4. testdict.Add(2, new Tuple<int, string, string>(2, "122", "Majenta Red"));
  5. testdict.Add(3, new Tuple<int, string, string>(2, "133", "Dark Yellow"));
  6. testdict.Add(4, new Tuple<int, string, string>(1, "555", "Light Blue"));
  7. testdict.Add(5, new Tuple<int, string, string>(1, "555", "Light Blue"));
  8. testdict.Add(6, new Tuple<int, string, string>(2, "133", "Dark Yellow"));
  9. testdict.Add(7, new Tuple<int, string, string>(2, "766", "Purple"));
  10.  
  11. Dictionary<int, Tuple<string, string, int>> newdict
  12. newdict.Add(AutoID_Order, new Tuple<string, string, int>("shortcode", "product_name", count)); (structure)
  13. newdict.Add(1, new Tuple<string, string, int>("555", "Light Blue", 3));
  14. newdict.Add(2, new Tuple<string, string, int>("133", "Dark Yellow", 2));
  15. newdict.Add(3, new Tuple<string, string, int>("122", "Majenta Red", 1));
  16. newdict.Add(4, new Tuple<string, string, int>("766", "Purple", 1));
Add Comment
Please, Sign In to add comment