Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.Net library for console menu driven app

I was wondering if anyone knew of a library for .net console apps that handled all the menuing functionality. I know its not that complex and I can just use Console.WriteLine("..."); to write text then do Console.ReadLine();, but am just curious if anyone knows of something existing that would handle the menuing. I'm likely to need submenus which would make the code complex.

(Don't ask why I have to do this...)

like image 517
Tim Coker Avatar asked Jul 26 '10 18:07

Tim Coker


2 Answers

You could also use Terminal.Gui for a console driven GUI.

I added this for reference purposes only, while searching for "Terminal.Gui" I stumbled upon this question.

Demo

like image 75
Steffen Avatar answered Sep 28 '22 06:09

Steffen


There is a C# binding to the nCurses library, found here. It is an API that helps with writing text based interfaces.

If you are simply looking for command line parameter parsing - commandline is a good library for that.

like image 25
Oded Avatar answered Sep 28 '22 06:09

Oded