Try this code.
List<DateTime> BuildWeeks(DateTime start,DateTime end)
{
List<DateTime> dates = new List<DateTime>();
DateTime weekStart, weekEnd;
weekStart = start.AddDays(0-start.DayOfWeek);
weekEnd = end.AddDays((double)(7 - end.DayOfWeek));
for (int x = 1; x < (weekEnd - weekStart).Days+1;x++)
{
dates.Add(weekStart.AddDays(x));
}
return dates;
}