title: compare lists and return common objects using LINQ
body: <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  
  namespace ConsoleApplication5
  {
      class Program
      {
          static void Main(string[] args)
          {
              List&lt;Customer&gt; custList = new List&lt;Customer&gt;();
  
              custList.Add(new Customer { Name = "P1" });
              custList.Add(new Customer { Name = "P2" });
              custList.Add(new Customer { Name = "P3" });
              custList.Add(new Customer { Name = "P4" });
              custList.Add(new Customer { Name = "P5" });
  
              List&lt;Customer&gt; vendorList = new List&lt;Customer&gt;();
              vendorList.Add(new Customer { Name = "P1" });
              vendorList.Add(new Customer { Name = "P2" });
  
              //var v = custList.SelectMany(
  
  
          }
      }
  
      public class Customer
      {
          public string Name { get; set; }
      }
  
  }
  </code></pre>
  
  <p>How do i copare these 2 lists and find only those customers who are present in custList as well as vendorList?</p>