ConsoleMenuLibrary 3.0.0

dotnet add package ConsoleMenuLibrary --version 3.0.0
NuGet\Install-Package ConsoleMenuLibrary -Version 3.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ConsoleMenuLibrary" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ConsoleMenuLibrary --version 3.0.0
#r "nuget: ConsoleMenuLibrary, 3.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ConsoleMenuLibrary as a Cake Addin
#addin nuget:?package=ConsoleMenuLibrary&version=3.0.0

// Install ConsoleMenuLibrary as a Cake Tool
#tool nuget:?package=ConsoleMenuLibrary&version=3.0.0

Console Menu Library

A library to easily make menus

Features

  • More than one template

How To Use

Add the voices list

Menu.Voices.AddRange(new List<string>
{
    "First", "Second"
});

Select a style and draw the menu

Menu.Draw(Models.Style.Dotted);
 /*
  * Output:
  *       · First
          · Second
         ----------
  */

Examples

Menu.Draw(Models.Style.Numbers);
/*
 * Output:
 *       1. First
         2. Second
        ----------
 */
Menu.Draw(Models.Style.BracketNumbers);

/*
 * Output:
 *       [1] First
         [2] Second
        -------------
 */
Menu.Draw(Models.Style.BracketSymbol);
/*
 * Output:
 *       [-] First
         [-] Second
        ------------
 */

Release

You can download the latest Console Menu Library dll above or here.

https://github.com/HackingSgravato/Console-Menu-Library/releases/tag/v3.0.0

Build

Console Menu Library requires .Net 7 to be built.

You can use git to clone the repository

git clone https://github.com/HackingSgravato/Console-Menu-Library.git

or download zip from here.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • 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
3.0.0 385 10/3/2022
2.0.0 412 5/9/2022
1.0.0 379 5/8/2022