1
Answer

my first qiestion

ab meg

ab meg

15y
3.4k
1

hi every one this is my first time to post in this forum. my aim is to simulate a command line interface using a textbox control. i need two things to achieve this

1. i want to detect whether "enter" is pressed or not.

2. i want to read the command in the current line just before "enter" pressed.

how can i do these two in C#? thank u in advance.

Answers (1)