List<Tuple<string, int>> cc = new List<Tuple<string, int>>() { new Tuple<string, int>("满减5", 1), new Tuple<string, int>("满减2", 2), new Tuple<string, int>("满减5", 3), new Tuple<string, int>("满减1", 4) };
1 foreach (var item in cc) 2 { 3 string ite = item.Item1; 4 int ctNum = item.Item2; 5 }
原文:http://www.cnblogs.com/ksy20151123/p/4990954.html