you did not say if this is a Console App or WinForm.
Console:
string line;
line = Console.ReadLine();
Win (just use a TextBox):
User can type in text and you can get the text by e.g. "textBox1.text"
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 3 of 3
Thread: Entering StringThreaded View
|
Click Here to Expand Forum to Full Width |