title: Using Linq select an item outside an List
body: <p>I have a list like </p>
  
  <pre><code>     {
          "Nutrients": [{
              "vitamin": "vitamin C",
              "potassium": "195mg",
              "sodium": "2mg",
              "cholesterol": "",
              "display_name": "Apple"
          }, {
              "vitamin": "vitamin B",
              "potassium": "176mg",
              "sodium": "2mg",
              "cholesterol": "",
              "display_name": "Grape"
          }],
          "General_name": "Fruits",
          "country_of_origin": "France"
  
  
       }
  
  
       {
          "Nutrients": [{
              "vitamin": "vitamin B",
              "potassium": "196mg",
              "sodium": "115mg",
              "cholesterol": "123mg",
              "display_name": "Chicken"
  
          }, {
              "vitamin": "vitamin B",
              "potassium": "360mg",
              "sodium": "53mg",
              "cholesterol": "68mg",
              "display_name": "Chicken"
          }],
          "General_name": "Meat",
          "country_of_origin": "Denmark"
  
       }
  </code></pre>
  
  <p>And I need to find the General_name of items which have empty string value for cholesterol.</p>
  
  <p>I tried it using linq lambda expression as </p>
  
  <pre><code>var elements=items.SelectMany(c =&gt;c.Nutrients)
      .Where(a =&gt; !string.IsNullOrEmpty(a.cholesterol))
      .ToList();
  </code></pre>
  
  <p>My question is how to get the general name from this condition</p>