using System.Globalization;
using TirsvadCLI.MenuPaginator;
namespace Example;
internal class Example
{
static void SomeAction()
{
Console.Clear();
Console.WriteLine("Some action");
Console.WriteLine("Press any key to continue");
Console.ReadKey();
}
static void SomeOtherAction()
{
Console.Clear();
Console.WriteLine("Some other action");
Console.WriteLine("Press any key to continue");
Console.ReadKey();
}
static void SomeActionWithParameter(string parameter)
{
Console.Clear();
Console.WriteLine($"Some action with parameter: {parameter}");
Console.WriteLine("Press any key to continue");
Console.ReadKey();
}
///
/// Example of a menu with only one page
///
static void MenuExample1()
{
Console.Clear();
Console.WriteLine("Example of a menu\n");
List