I have this class:
public class Note
{
public DateTime Date { get; set; }
public string Time { get; set; }
public string Text { get; set; }
}
and a list
List<Note> ungroupedNotes;
What I want to do is group multiple notes that have the same Date and Time into a single Note (their Text properties should be joined together, Date and Time are the same) and output a new
List<note> groupedNotes;