当我试图在结果列表中使用String.Join时,我得到了错误System.Collections.Generic.List`1System.String。例如,我有两个这样的列表: var list1= new List<string>{"string1","string2"};
var list2= new List<string>
我得到一个错误"Cannot convert object of type System.String“to type 'System.Collections.Generic.List'1..., contacts.ToString());这是我的Javascript代码(注意,我在项目中包含了jquery-1.4.1.js和json2.js )var它看起来是这样的:"{"Name":"Be