EasyMenu 1.0.2

.NET Framework
Install-Package EasyMenu -Version 1.0.2
dotnet add package EasyMenu --version 1.0.2
<PackageReference Include="EasyMenu" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EasyMenu --version 1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EasyMenu, 1.0.2"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install EasyMenu as a Cake Addin
#addin nuget:?package=EasyMenu&version=1.0.2

// Install EasyMenu as a Cake Tool
#tool nuget:?package=EasyMenu&version=1.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


Nuget GitHub Latest Release

Library created in .NET Standard to make menus in C# console in a very simple way

  • Menus with asynchronous/synchronous function
  • Possibility of making unlimited Sub-Menus
  • Return and navigation header
  • Configurable options

Preview Gif

MenuBuilder MenuSettings = new MenuBuilder(BreadCrumbHeader: true, UserInputMessage: "Choose:")

    // You can add lambda expressions
    .WithMenu("Menu A", () => { Console.WriteLine("Hi from Menu A!"); })

    // or.. directly call an (a)synchronous method
    .WithMenu("Menu MyMethod", MyMethod)

    // o.. make subMenus
    .WithMenu("Menu with SubMenus", new[]
        // Dentro de los SubMenus puede hacer exactamente lo mismo que en .WithMenu
        new Menu("SubMenu A", () => { Console.WriteLine("Hi from SubMenu A!"); }),

        // Also you can create all the SubMenus you want within others
        new Menu("SubMenu B with SubSubMenus", new[]
            new Menu("SubSubMenu BA", () => { Console.WriteLine("Hi from SubSubMenu BA!"); }),
            new Menu("SubSubMenu BB", () => { Console.WriteLine("Hi from SubSubMenu BB!"); }),

// e.g. Page > Page2 > Page3
MenuSettings.HeadNavigationSeparator = ">";

// Page > Page2 > Page3
// --- <- this
// [1] (...)
MenuSettings.HeadNavigationMenuSeparator = "---";

// The error message input
MenuSettings.ErrorUserInput = "Invalid Input!";

// Build to MenuConsole
MenuConsole consoleMenu = MenuSettings.Build();

// Display menu - UpdateConsole: Refresh the console after there is an error
consoleMenu.Show(UpdateConsole: true);

static void MyMethod()
    Console.WriteLine("Hi from MyMethod!");

Contributions, reports or suggestions

If you find a problem or have a suggestion inside this library, please let me know by clicking here, if you want to improve the code, make it cleaner or more secure, create a pull request.

In case you will contribute in the code, please follow the same code base


  • Telegram: https://t.me/biitez
  • Bitcoin Addy: bc1qzz4rghmt6zg0wl6shzaekd59af5znqhr3nxmms
Product Versions
.NET Framework net
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2 127 12/28/2021
1.0.0 87 12/28/2021