title: Foreach loop and lambda expressions
body: <p>I have following Model Classes:</p>
  
  <pre><code>public class Promotion
  {
       public Offers Offers { get; set; }    
  }
  public class Offers
  {
      public List&lt;PromotionOffer&gt; Offer { get; set; }
  }
  public class PromotionOffer
  {
      public string CategoryName { get; set; }
      public List&lt;Product&gt; Product { get; set; }
  }
  
  public class Product
  {
      public string ProductName { get; set; }
  }
  </code></pre>
  
  <p>I have <code>Promotion</code> object and a string <code>allProducts</code>.</p>
  
  <pre><code>Promotion promotion = promotion;
  string allProducts = string.Empty;
  </code></pre>
  
  <p>I want to assign and append <code>ProductName</code> in allProducts where <code>CategoryName == "Premium"</code>.
  Is it possible to achieve this using a lambda expression? or will be needing a foreach loop too? Pls guide, how I can I achieve this?</p>