コード例 #1
0
        private List <Grouping <string, IHistoryItem> > GroupItems()
        {
            var grouped = HistoryItems.GroupBy(x => x.Date.ToString("dd/MM/yyyy")).Select(x => new Grouping <string, IHistoryItem>(x.Key, x));

            return(new List <Grouping <string, IHistoryItem> >(grouped));
        }