title: How to get only "intent" field from LUIS returned JSON result using C#
body: <p>how do I get only the "intent" field from the JSON format code from LUIS return result in C#? 
  I have already done deserialization like this:</p>
  
  <pre><code>public class ResponseContent
  {
      [BsonId]
      public string query { get; set; }
      public string topScoringIntent { get; set; }
      public string intent { get; set; }
      public string entities { get; set; }
  }
  
  public class topScoringIntent
  {
      public string intent { get; set; }
      public string score { get; set; }
  }
  </code></pre>
  
  <p>And this is the LUIS return result:</p>
  
  <pre><code>"query": "Hello.",
  "topScoringIntent": 
  {
  "intent": "Greeting",
  "score": 0.9447609
  },
  "intents": 
  [
  {
    "intent": "Greeting",
    "score": 0.9447609
  },
  {
    "intent": "Request",
    "score": 0.09726282
  },
  {
    "intent": "None",
    "score": 5.523394E-10
  }
  ],
  "entities": []
  </code></pre>
  
  <p>And I only want the "intent" field from the "TopScoringIntent". How can I get that using C#? Below is the code that I tried but nothing came out:</p>
  
  <pre><code>var uri = "https://southeastasia.api.cognitive.microsoft.com/luis/v2.0/apps/" + luisAppId + "?" + queryString;
  var response = await client.GetAsync(uri);
  var responseContent = await response.Content.ReadAsStringAsync();
  var responseitem = JsonConvert.SerializeObject(responseContent,Formatting.Indented);
  JToken content = JToken.Parse(responseitem);
  var intentOnly = (from s in content.Children()["ResponseContent"]select s).ToList();
  foreach (var item in intentOnly.Children().ToList())
  {
    Console.WriteLine(item.ToObject&lt;ResponseContent&gt;().TopScoringIntent);
  }
  </code></pre>
  
  <p>This is not a bot so I am not using any bot framework to do this. 
  Thank you.</p>