I have an existing VB. Net application I am trying to add functionality to. The example code is in C# and I am not sure how to convert this section. I have converted the rest of it but stuck on this....
var parameters = new CreateSMSMessage();
parameters.from = new MessageStoreCallerInfoRequest { phoneNumber = "19998887777"};
parameters.to = new MessageStoreCallerInfoRequest[]
{
new MessageStoreCallerInfoRequest
{
phoneNumber = "12223334444"
} };
parameters.text = "Hello World from C#";
var resp = await restClient.Restapi().Account().Extension().Sms().Post(parameters);