关于 List<T>

System.Object 
  System.Collections.Generic.List<T>
 
list<string,string>,这种形式本身就是错误的,你可以这么写List<KeyValuePair<string, string>,或者list<string>,对于List<KeyValuePair<string, string>  test,可以这么添加test.Add(new KeyValuePair<string, string>(XXX,XXX));对于list<string> test, 可以这样test.Add(XXX);
或者Dictionary<string, List<KeyValuePair<string, string>>> test= new Dictionary<string, List<KeyValuePair<string, string>>>();
原文地址:https://www.cnblogs.com/CharlesGrant/p/3650860.html