static void Main(string[] args) { IUserInterfaceManager userInterface = new MainUI(); while (userInterface != null) { userInterface = userInterface.Execute(); } }