title: Check a List<List<int>[]> contains a value using Linq
body: <p>I have a <code>List&lt;List&lt;int&gt;[]&gt;</code> containing lists items e.g</p>
  
  <pre><code>List&lt;int&gt; a= new List&lt;int&gt;(){ 2, 2, 3, 4, 5};
  List&lt;int&gt; b= new List&lt;int&gt;() { 2, 2, 2, 6 };
  List&lt;List&lt;int&gt;[]&gt; c = new List&lt;List&lt;int&gt;[]&gt;();
  c.Add(new[]{a,b});
  </code></pre>
  
  <p>I want to check if any of the arrays contained in c have 2 as a value . This is more or less a true or false answer.</p>
  
  <p>So far I can check if a or b contains 2 using the Linq code</p>
  
  <pre><code>var result = a.Any(p=&gt; p==2); // this outputs 2
  </code></pre>
  
  <p>extending this to the c </p>
  
  <pre><code>var result=c.Any(p=&gt; p.Select(value =&gt; value.Contains(2)).First());
  </code></pre>
  
  <p>// the above code p=> p.Select(value => value.Contains(2)) returns an Enumerable and I take the first one. I'm not positive this is the right way to go about this problem using linq.
  Is there a better way of doing this?</p>