This is my simple list:

```
public class ProductStore
  {
      public List<Product> AllProducts
      {
          get
          {
              return new List<Product>
              {
                  new Product{Name = "Stove 1", Category= "Stoves", ID = 1, Price = 99.99},
                  new Product{Name = "Stove 2", Category= "Fireplaces", ID = 2, Price = 139.50},
                  new Product{Name = "Stove 3", Category= "Stoves", ID = 3, Price = 199.99},
                  new Product{Name = "Stove 4", Category= "Stoves", ID = 4, Price = 29.00},
              };
          }

      }
  }

```

An this is how I print these data in View:
 @model List

```
@{
    ViewBag.Title = "AllProducts";
}

<h2>AllProducts</h2>
<ul>
@foreach (var product in Model)
{ 
     <li>Name: @product.Name, Category:@product.Category, Price:@product.Price;</li>
}
</ul>

```

My Question is: What is the best way to print only those element, which have ie. category == Stoves? I know that I can use if statement combined with continue in foreach, but I wonder, is there a smarter way of doing this?