This is another example of the Strategy Design pattern, coded in C#. The user can select which format they want to display the time (analogue or digital), and change their choice while the clock is running.