views:

26

answers:

1

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...)

+1  A: 

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.

Oded
wow, that was fast. and now i have to wait 8 minutes to accept...
Tim Coker
@Tim Coker - I hope I understood your question correctly... I assumed that when you say `menu` in a console app, you need a whole text based interface :)
Oded
Yup. Probably overkill for what I'm actually doing, but it'll work. I saw a few curses implementations for windows, but didn't find one with good c# integration.
Tim Coker