i have an array of events:
IEnumerable<CalendarEvent> events
i want to convert this to a dictionary so i tried this:
Dictionary<string, CalendarEvent> dict = events.ToDictionary(r => r.Date.ToString("MMM dd, yyyy"));
the issue is that i have multiple events on a single date so i need a way to convert this to a
Dictionary<string, List<CalendarEvent>>
to support the days which have multiple events