I have a datasource that returns dates and I have to find where the months falls within the month and day range buckets. The months and day range buckets are predefined so I put it in a Dictionary (not sure if that is even a good idea). I am using linq to find the min and Max dates and extracting the month from them. I need to find month from the dictionary where that month extracted falls within the range. For Example

```
  Dictionary<int, int> MonthDayBuckets = new Dictionary<int, int>() { { 3,31 }, { 6,30 }, { 9,30 }, { 12,31 } };

  var MinyDate = _dataSource.Min(x => x.values[0]);
  var MaxDate = _dataSource.Max(x => x.values[0]);

  var startMonth = Convert.ToDateTime(MinyDate).ToString("MM");
  var endMonth = Convert.ToDateTime(MaxDate).ToString("MM");

```

Say startmonth return Jan so I want to be able to go to the dictionary and return only march (03.31) and if I get 10 for the Max (October) I am trying to return (12,31) December