String serialize(T obj){ DataContractJsonSerializer json = new DataContractJsonSerializer(typeof(T)); MemoryStream ms=new MemoryStream(); json.WriteObject(ms, obj); String s=Encoding.UTF8.GetString
A. {“Name”:”XXX”,”Scores”:{89,90}}
B. {“Name”:”XXX”,”Scores”:[89,90]}
C. {“Name”:”XXX”,”Scores”:{“89″,”90”}}
D. {“Name”:”XXX”,”Scores”:[“89,”90”]}
查看答案
该试题由用户705****52提供
查看答案人数:5898
如遇到问题请
联系客服
正确答案
该试题由用户705****52提供
查看答案人数:5899
如遇到问题请联系客服