title: Combine the multiple API responses in to one JSON object C#
body: <p>I am calling the Sharepoint REST API from the C# application multiple times becaues of pagination and it cannot return more the 5000 records at a time. I am calling the API through the loop like</p>
  
  <pre><code>     for (int i = 0; i &lt; 10000; i = i + 5000)
              {
                  SP_StrainCodes = "GetByTitle('S%20Codes')/items?$skiptoken=Paged=TRUE%26p_ID=" + i + "&amp;$top=1";
                  core_URL = BaseURL_SP + SP_StrainCodes;
  
                  using (var client_sharePoint = new HttpClient(handler))
                  {
                      var response = client_sharePoint.GetAsync(core_URL).Result;
                      var responsedata = await response.Content.ReadAsStringAsync();
                      returnObj = JsonConvert.DeserializeObject&lt;SharepointDTO.RootObject&gt;(responsedata);
  
                      if (returnObj.d.Next == null)
                          continue;
                 }
              }
              return returnObj;
          }
  </code></pre>
  
  <p>How do I combine the the returnObj from 1st call and the 2nd Call and return as one Object </p>