How do I serialize an object into query-string format?
I’m 99% sure there’s no built-in utility method for this. It’s not a very common task, since a web server doesn’t typically respond with a URLEncoded key/value string. How do you feel about mixing reflection and LINQ? This works: var foo = new EditListItemActionModel() { Id = 1, State = 26, Prefix = “f”, Index … Read more