I have the following anonymous type:
new {data1 = "test1", data2 = "sam", data3 = "bob"}
I need a method that will take this in, and output key value pairs in an array or dictionary.
My goal is to use this as post data in an HttpRequest so i will eventually concatenate in into the following string:
"data1=test1&data2=sam&data3=bob"
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…