Is there any "clean" way to exit game?

I use

((GameBase)Game).Exit();

currently but it looks strange. Is it possible to Exit game without weird typecasting?

1 Like