title: Check if a value from one array exists in another array using linq
body: <p>I've got an list where myclass is defined with a few properties</p>
  
  <pre><code>List&lt;MyClass&gt; myClassList = new List&lt;MyClass&gt;();
  myClassList.Add(new MyClass() { Id = 1, Name = "My first test", Key = "First" });
  myClassList.Add(new MyClass() { Id = 2, Name = "My second test", Key = "Second" });
  </code></pre>
  
  <p>I then have a path i.e. c:\my folders\company name\My First Test, which I break into a string array using regex i.e. myArrayPath</p>
  
  <p>I want to find if any elements of myClassList based on a given property i.e. Name can be found in any of the elements from myArrayPath and ideally I'd like to return the Key but if I return the object matching one of the element from myArrayPath, this will be just as good.</p>
  
  <p>Is there a way to achieve this using linq and/or lambda expressions.</p>
  
  <p>Thanks.</p>