예제 #1
0
        public override string ToString()
        {
            string result = String.Format("{0}/{1}/{2}", Discipline.Name, Chapter.Name, Topic.Name);

            result = result + string.Concat(Timelines.Select(timeline => String.Format("({0} - {1}),",
                                                                                       String.Format("{0:g}", timeline.StartDate), String.Format("{0:g}", timeline.EndDate))));
            return(result.Remove(result.Length - 1));
        }