I'm trying to create a menu class, where i can add MenuItems within my code and then call the subitem via static Properties.
My idea:
var myMenu = new Menu();
myMenu.Add("Articles");
myMenu.Add("Customers");
// now call the item via...
_navigation.NavigateTo(Menu.Articles);
// or add further subitems
Menu.Customers.Add("International");
Can C# build such properties?