I am fairly new to the C# programming language, and I was hoping you could help me out. To start with all I need is a simple program that will ask for user input through a command line window.
The user input will be just a string. and the string will be saved in some variable so that it can be manipulated in whatever way I want.
So just to clarify, a simple program that once launched, will open the command line window and ask the user for some input. e.g.:
Please type input:
...
Then then user would input some string > the string will be saved in some sort of variable and then program would ask the user for more input afterwards.
I would greatly appreciate any help with this.
Thank You.
Suthish NairPosted Jan 30, 2011, 1:38 PM
So other members can easily find the answers.
Suthish NairPosted Jan 31, 2011, 1:17 AM
The best part here is that you got the solution.
Most of the people run from here after they got the solution, even not bothered to click the Accepted Answer checkbox. Atleast am trying to avoid duplicate posts here, just kidding :)
I agreed your logic works, but the basic/idea got from the attcahed URL only :).
Sam HobbsPosted Jan 30, 2011, 9:48 PM
As an intellectual discussion, for the fun of it, note that Suthish says so "other members can easily find the answer" and that is why I said it is most approprite to mark your own reply as the answer. Something that is much more important is that you understand the importance of marking something as the answer, and since you did that here, it will help in the future.
CiwanPosted Jan 30, 2011, 7:47 PM
Still, Mr. Nair was the first to get back to me, and by my logic the first that wanted to help me. so I guess he can have the point for that. :D
Sam HobbsPosted Jan 30, 2011, 6:50 PM
CiwanPosted Jan 30, 2011, 1:44 PM
Suthish NairPosted Jan 30, 2011, 9:21 AM
http://www.c-sharpcorner.com/Forums/UploadFile/106400/