static void Main(string[] args) { Clock clock = new Clock(); SetClock MyRing = new SetClock(clock); clock.ClockRinging(); }