title: Differences between Array.Length and Array.Count()
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/300522/count-vs-length-vs-size-in-a-collection">count vs length vs size in a collection</a><br>
    <a href="https://stackoverflow.com/questions/1506963/array-length-vs-array-count">Array.Length vs Array.Count</a>  </p>
  </blockquote>
  
  
  
  <p>I declared this array:</p>
  
  <pre><code>int[] misInts = new Int[someNumber];
  
  /* make some happy operations with the elements in misInts */
  </code></pre>
  
  <p>So I can get the value of SomeNumber with:
  misInts.Length or misInts.Count()</p>
  
  <p>Arrays in C# inherit from IEnumerable. So if I have:</p>
  
  <pre><code>Func&lt;int&gt; misIntsF = Enumerable.Range(0, someNumber).Select(c=&gt; /* make some happy operations that return Integers */);
  </code></pre>
  
  <p>I am told that if I make misIntsF.Count() I actually execute the code in the Lambda expression, get the results and count them. But the array misInts doesn't have a Lambda expressión.</p>
  
  <p>Is misInts.Count() more memory consuming than misInts.Length? What are the differences between misInts.Count() and misInts.Length?</p>