Where are the console controls?

For me, quick and dirty tools that just have to be built, but you can’t really allocate the time for it, are console applications. From time to time, they require some user input that I usually handle with the ReadLine function. When the user has to make a selection, I do the usual routine including google for some console controls or information on what controls are out there for console applications, and then ending up doing a fast hack that allows the user to pick something from a list.

I can’t understand why someone haven’t published something like this. Perhaps I am using the completely wrong search terms. I have reluctantly started to program a list box, but if someone points one out for me, I will run away from this immediately. I can see that controls in a console application is in itself is conceptually wrong (it will probably ruin the possibilities to extend the application by redirecting the input and output stream), but I have had the need for this a few times.

Anyone?

Bjud mig på en kopp kaffe (20:-) som tack för bra innehåll:

Bjud mig på en kopp kaffe (20:-) som tack för bra innehåll!

Comments

Important information: If you have not commented before, your comment will be reviewed before it is published. This means that you will not see it immediately, but I have received it. This is not because I want to filter comments, but because I want to prevent spam and advertising.

Leave a Reply

Your email address will not be published. Required fields are marked *