'Advanced' Console Application

Posted by keynesiancross on Stack Overflow See other posts from Stack Overflow or by keynesiancross
Published on 2011-01-05T14:36:37Z Indexed on 2011/01/05 14:54 UTC
Read the original article Hit count: 164

Hi all, I'm not sure if this question has been answered elsewhere and I can't seem to find anything through google that isn't a "Hello World" example... I'm coding in C# .NET 4.0.

I'm trying to develop a console application that will open, display text, and then wait for the user to input commands, where the commands will run particular business logic.

For example: If the user opens the application and types "help", I want to display a number of statements etc etc. I'm not sure how to code the 'event handler' for user input though.

Hopefully this makes sense. Any help would be much appreciated! Cheers.

© Stack Overflow or respective owner

Related posts about c#

Related posts about application