Skip to content

iammeatchunky/ChunkyConsole

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChunkyConsole

I use this mainly when i have a console app that i keep using for different tasks, this helps isolate the tasks and exeute them easily

Example

class Program
{
    static void Main(string[] args)
    {
        Menu m = new Menu();
        m.MenuItems.Add(new MenuItem() { Title = "Reflection Example", Key = ConsoleKey.D1, Command = new ReflectionExample() });
        m.MenuItems.Add(new MenuItem() { Title = "Simple Class Example", Key = ConsoleKey.D2, Command = new ClassExample() });
        m.MenuItems.Add(new MenuItem() { Title = "Menu Example", Key = ConsoleKey.D3, Command = new MenuExample() });
        m.MenuItems.Add(new MenuItem() { Title = "Prompt Example", Key = ConsoleKey.D4, Command = new PromptExample() });
        m.Print();
    }
}

LICENSE

mit-license

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%