The architecture of the game. How to separate menu from the game loop?

Hello.
My question relates to the professional developer who knows what, how and why.
I am familiar with the basics of C#. Including the PLO.
There are difficulties with understanding delegates and events, ie how it works.
Planning to write a game. No Unity, Win Forms or Monogame. Start simple.
And on simple the question!
There is a menu. Let's say, 3 points. To play, "Settings" and "Exit".
How to separate these 3 cycles? Main menu, settings menu and the game loop?
In Python, I would not bother, but in C# OOP model and I need to do it smart.
How? And most importantly, how?
Thanks in advance!
April 19th 20 at 12:33
1 answer
April 19th 20 at 12:35
maybe you have to meditate here - Cycle events
and here is command based application event loop (upd in this place can and should be creative to change the query to complete enlightenment)

Find more questions by tags Development of gamesC#.NET