title: I am using PaymentGateway where I have a array format data , how could i take each value from an array and use it that value in c#
body: <p>This is the format in which data is pass in Gatway Api URL.</p>
  
  <pre><code>   string postString = "key=" + keys +
              "&amp;command=" + method +
              "&amp;hash=" + Hashed +
              "&amp;var1=" + var1;
  </code></pre>
  
  <p>After that the data is pass using post method and I get response in array format and when I convert using Jobject.Parse it getting error; how can I get every token value where as I am developed in C#.             </p>
  
  <pre><code> System.Net.ServicePointManager.SecurityProtocol = 
          SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
          WebRequest myWebRequest = WebRequest.Create(Url);
          myWebRequest.Method = "POST";
          myWebRequest.ContentType = "application/x-www-form-urlencoded";
          myWebRequest.Timeout = 180000;
          StreamWriter requestWriter = new 
          StreamWriter(myWebRequest.GetRequestStream());
          requestWriter.Write(postString);
          requestWriter.Close();
  
          StreamReader responseReader = new 
          StreamReader(myWebRequest.GetResponse().GetResponseStream());
          WebResponse myWebResponse = myWebRequest.GetResponse();
          Stream ReceiveStream = myWebResponse.GetResponseStream();
          Encoding encode = System.Text.Encoding.GetEncoding("utf-8");
          StreamReader readStream = new StreamReader(ReceiveStream, encode);
          string response = readStream.ReadToEnd();
  
          JObject account = JObject.Parse(response);      //Here getting Error
  
          String status = (string)account.SelectToken("transaction_details." + 
          var1 + ".status");
  </code></pre>
  
  <p>This is the format in which I am getting response</p>
  
  <p><a href="https://i.stack.imgur.com/BqcIH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BqcIH.png" alt="enter image description here"></a></p>
  
  <p>This is the error which is generate</p>
  
  <p><a href="https://i.stack.imgur.com/4nv8S.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4nv8S.png" alt="enter image description here"></a></p>