How can I add a where into my foreach loop in C#
<p>I have the following:</p>

<pre><code>foreach ( var menuItem in  Model.menuItems) {
  if (menuItem.Type == "02") {

  }
}
</code></pre>

<p>The code within the foreach executes only when Type==2 so is there some way that I could add the check for Type == "02" into the top part of my loop.</p>
