Dictionary<string, object> a = new Dictionary<string, object>(); a.Add("1",1111111111); a.Add("2", "AAAAAAAAAAAAAAAAAA"); a.Add("3", new ArrayList() { "A","B","C"}); foreach (KeyValuePair<string, object> item in a) { if (item.Value.GetType()==typeof(ArrayList)) { ArrayList list=(item.Value) as ArrayList; for (int i = 0; i < list.Count; i++) { Console.WriteLine(list[i]); } } }
能帮我解决下这个问题吗?如果你会的话,估计一两分钟就能解决了,我已经将反序列化操作都完成了
http://q.cnblogs.com/q/46056/