title: Linq - Query a List<string[]>
body: <p>How do you query a <code>List&lt;string[]&gt;</code> to get the index of the arrays having matches on their sub-arrays and get a return of type <code>System.Collections.Generic.IEnumerable&lt;string[]&gt;</code> ?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I have this:</p>
  
  <pre><code>       string[] report = File.ReadAllLines(@".\REPORT.TXT").AsQueryable().Where(s
         =&gt; s.StartsWith(".|")).ToArray();
  
        List&lt;string[]&gt; mylist = new List&lt;string[]&gt;();
  
          foreach (string line in report)
          {
              string[] rows = line.Split('|');
              mylist.Add(rows);
          }
  </code></pre>
  
  <p>and I what to get the the mylist indexes where rows[5] == "foo"</p>