// $G$ CSS-010 (-3) Private method should start with a lower case letter. private static void BeginTests() { int MenuDepth = 1; TestInterface testInterface = new TestInterface(); Interfaces.MainMenu interfaceMainMenu = testInterface.BuildMenu(); testInterface.LoopMenu(interfaceMainMenu, MenuDepth); TestDelegates testDelegates = new TestDelegates(); Delegates.MainMenu delegatesMainMenu = testDelegates.BuildMenu(); testDelegates.LoopMenu(delegatesMainMenu, MenuDepth); Console.WriteLine("Menu Closed"); Console.Read(); }
public static void Main() { TestInterfaces.GenerateMenus().OnSelected(); TestDelegates.GenerateMenus().OnSelected(); }