public static void PrintEvent(EventMain eventToPrint) { if (eventToPrint != null) { Output.Append(eventToPrint + "\n"); } }
public void AddEvent(DateTime date, string title, string location) { EventMain newEvent = new EventMain(date, title, location); this.checkByTitle.Add(title.ToLower(), newEvent); this.checkByDate.Add(newEvent); Messages.EventAdded(); }