Anonymous Array in Constructor

arduarn:
Untested:

topMenu = new MenuItem("Top Menu", "1",

new MenuItem[2]  { MenuItem("Configure Device", "1"), MenuItem("Configure WiFi", "2") },
  2 /* 2 is count of submenus */);

Great work! I really did my due diligence on this and google had various different answers that didn't work. That is awesome, it will really simplify my code and making it much clearer. Thank you.