My code is below:
string requestBody = string.Format(
@"{{
""RequestServerVersion"":""2016.04.05"",
""PreferredDate"":""{0}"",
""StaffList"":""{1}""
}}",
preferredDate.Date.ToString("yyyy-MM-dd"),
"test");
StaffList is a string array, If I pass a single string like "test", it won't work. How do I pass a string array to it in the string.Format(...)? Since in the server side, StaffList is handled as a string Array.
Thanks a lot!