title: How to select array data fields contains specific key value in C# linq query
body: <p><strong>Class Structure:</strong></p>
  <pre><code>public List&lt;customer&gt; CustomerDetails { get; set; }
   public class customer
      {
          [JsonProperty(&quot;key&quot;)]
          public string Key { get; set; }
          [JsonProperty(&quot;firstAmount&quot;)]
          public int? FirstAmount{ get; set; }
          [JsonProperty(&quot;secondAmount&quot;)]
          public int? SecondAmount{ get; set; }
          [JsonProperty(&quot;total&quot;)]
          public int? Total{ get; set; }
      }
  </code></pre>
  <p><strong>Response Data:</strong></p>
  <pre><code>&quot;Details&quot;: {
                  &quot;Status&quot;: &quot;0&quot;,              
                  &quot;customer&quot;: [
                      {
                          &quot;FirstAmount&quot;: &quot;796.61&quot;,
                          &quot;SecondAmount&quot;: &quot;392.43&quot;,
                          &quot;total&quot;: &quot;2&quot;,
                          &quot;key&quot;: &quot;Platinum&quot;
                      },
                      {
                          &quot;FirstAmount&quot;: &quot;0.00&quot;,
                          &quot;SecondAmount&quot;: &quot;0.00&quot;,
                          &quot;total&quot;: &quot;0&quot;,
                          &quot;key&quot;: &quot;Gold&quot;
                      },
                  ]
              }
  </code></pre>
  <p>Required:
  *How to select the customer data with Key value &quot;Gold&quot; from the response data. Example need SecondAmount of Customer with Key value &quot;Gold&quot;</p>