You must Sign In to post a response.
  • Category: Windows

    Dealing with strings C#

    Hello

    string strSMS = "{ \"messages\" : [ { \"content\" : \"Testing\", \"destination\" : \">>0769422313<<\" } ] }";

    I need my strSMS to be like this as an output:

    { "messages" :
    [
    {
    "content" : "Testing",
    "destination" : ">>0769422313<<"
    }
    ]
    }
  • #770434
    Hello Samuel Chukudu

    Try below code

    string strSMS = "{ \"messages\" :[{\"content\" : \"Testing\",\"destination\" : \">>0769422313<<\"}]}";

    Thanks


  • Sign In to post your comments