static void Main(string[] args) { Time.Element e = new Time.Element { ScheduleStyle = ElementScheduleStyle.Multiple, A = 5 }; var s = new SliceCollection(); s.Schedule(e, 10); s.MoveNextSlice(); s.Dispose(); Console.WriteLine("Done."); }