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"