title: How can we check whether one array contains one or more elements of another array in #?
body: <p>I have a an array of strings:e.g:</p>
  
  <pre><code>string [] names ={"P","A","B","G","F","K","R"}
  </code></pre>
  
  <p>I have another array :</p>
  
  <pre><code>string [] subnames={"P","G","O"}
  </code></pre>
  
  <p>How can we check whether names array has any elements of subnames array.</p>
  
  <p>In the above example "P" and "G" are there in names.</p>