title: Use of LINQ and ArrayList
body: <p>I've recently used LINQ</p>
  
  <p>In the following code:</p>
  
  <pre><code>ArrayList list = new ArrayList();
  var myStrings = list.AsQueryable().Cast&lt;string&gt;();
  </code></pre>
  
  <p>What is the <code>AsQueryable</code> for? I know <code>Cast</code> creates a type-safe collection, and <code>ArrayList</code> is deprecated.</p>
  
  <p>I've got a friend who says he needs the <code>AsQueryable</code> combined with <code>ArrayList</code>. I'm trying to understand why, but I can't see why <code>AsQueryable</code> is needed.</p>
  
  <p>Is he wrong?</p>