title: How can I filter a list of objects using lambda expression?
body: <p>I know I shouldn't have id's with the same value. This is just fictitious, so overlook that.</p>
  
  <p>I have:</p>
  
  <pre><code>List&lt;Car&gt; carList = new List&lt;Car&gt;();
  carList.Add(new Car() { id = 1, name = "Honda" });
  carList.Add(new Car() { id = 2, name = "Toyota" });
  carList.Add(new Car() { id = 1, name = "Nissan" });
  </code></pre>
  
  <p>I want to use Lambda Expression to retrieve all cars that have an id of 1.</p>
  
  <p>Anticipated Result:</p>
  
  <pre>
  -- Id: 1, Name: Honda
  -- Id: 1, Name: Nissan
  </pre>
  
  <p>The problem is more filtering an object list based on a foreign key.</p>