Iterating through a dictionary in C#
If I understand your intent:

Console.WriteLine("Please enter a date in the following formate MM/DD/YYYY");
string date = Console.ReadLine();
DateTime startRange = Convert.ToDateTime(date);
DateTime endRange = startRange.AddDays(6);

foreach (var pair in pagesInRange)
    if (pair.Key &gt;= startRange &amp;&amp; pair.Key &lt;= endRange)
        Console.WriteLine(pair.Key.ToString("d") + " " + pair.Value);


This does not take advantage of the fact that the dictionary is sorted.