Count for datetime object
<p>I'm trying to iterate over DateTime properties on objects in a List collection... </p>

<p>Ex. a tree view that lists the a Name with all its Courses underneath works fine:</p>

<pre><code>    // Sorting on name with the courses beneath it:
    // *list* is a List&lt;ClsStandholder&gt;;
    private void ShowNameWithCourses()
    {
        treeViewList.Nodes.Clear();
        for (int i=0; i &lt; list.Count; i++) {
            treeViewList.Nodes.Add(list[i].name);
            for (int j=0; j &lt; list[i].courses.Count; j++) {
                treeViewList.Nodes[i].Nodes.Add(list[i].courses[j]);
            }
            treeviewList.ExpandAll();
        }
    }
</code></pre>

<p>That works perfect... where I am having trouble is trying to sort on date and iterate through a count of the dates.</p>

<pre><code>for (int j=0; j &lt; list[i].SubscriptionDate. // how do i put some sort of count for this?
</code></pre>

<p>There seems to be no property to loop over all the dates entered.</p>
