Discuss Scratch

turkey3
Scratcher
1000+ posts

C# Console Application Help

I am making a console app in C#, and there's something I can't figure out. How can I make it so the user types something on the command line, such as “delete”, hits enter, and then I can parse that code and do the proper associated actions? I need some way to store the user's input in a string variable, but don't know how. Any help is appreciated. Thanks!
drmcw
Scratcher
1000+ posts

C# Console Application Help

string line = Console.ReadLine();
watsonsimler
New Scratcher
6 posts

C# Console Application Help

More about……C# Consile bases application

Watson
watsonsimler
New Scratcher
6 posts

C# Console Application Help

http://csharp.net-informations.com/overview/csharp-console-application.htm
CatsUnited
Scratcher
1000+ posts

C# Console Application Help

Please don't necropost.

Powered by DjangoBB