1
votes

Suppose, we have a var type and we want to hard code some values just for testing purpose something in this:

var payload = JsonConvert.SerializeObject(sof);

Here, i want to change some properties values in payload variable at runtime.On Hover,i can see all properties with values.I want to know can i change one or two of them and post those changed values alongwith original values to this:

await client.PostAsync(url, new StringContent(payload, Encoding.UTF8, "application/json"));

Please someone tell me how to do it.

1
I think you can use watch window and change the value at run time...Ian

1 Answers

1
votes

Why don't you just re assign the payload in Immediate window?