8rnie
8rnie
CC#
Created by 8rnie on 1/6/2023 in #help
✅ Console Menu Help
Hey all, I'm a very beginner c# hobbyist just need some clarifications on best practice. Lets say I have a console app with a few different 'menus'. The menus are just text options that are all individualized. I know I could just WriteLine the strings in Main, ask for a user choice then go into a switch statement. But, what are my options for making this visually clean? I currently do is just make a 'SubMenu' class filled with static functions and just put all my menu functions there. Should I just use regions to hide the menu sections? Or am I missing something very basic?
6 replies