title: Why does C# array not have Count property?
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>  </p>
  </blockquote>
  
  
  
  <p>Really strange:</p>
  
  <p>C# arrays such as the following</p>
  
  <pre><code>double[] test = new double[1];
  </code></pre>
  
  <p>support the Length property to get the size of the array. But arrays also implement an IList interface:</p>
  
  <pre><code>IList&lt;double&gt; list = test;
  </code></pre>
  
  <p>However, the IList interface provides also a Count property. How come the array ("test" in this case) doesn't?</p>
  
  <p><strong>Edit</strong>: Thanks to all of you who pointed out that it is in fact the ICollection interface (not IList) which provides the Count property, and also that this is due to explicit implementation of the interface.</p>