From: sahel on
hello ;
getch() in c language gets the char from user with out enter key
is there any method like getch() in c# console app;
thanks . . .
From: Mark Rae [MVP] on
"sahel" <nam.nam.barooon(a)gmail.com> wrote in message
news:d98bb6c8-2d18-4111-8407-1c6f3ea881cd(a)k17g2000yqb.googlegroups.com...

> getch() in c language gets the char from user with out enter key
> is there any method like getch() in c# console app;

http://bytes.com/topic/c-sharp/answers/238121-equivalent-getch


--
Mark Rae
ASP.NET MVP
http://www.markrae.net

From: mick on
"sahel" <nam.nam.barooon(a)gmail.com> wrote in message
news:d98bb6c8-2d18-4111-8407-1c6f3ea881cd(a)k17g2000yqb.googlegroups.com...
> hello ;
> getch() in c language gets the char from user with out enter key
> is there any method like getch() in c# console app;
> thanks . . .


Console.ReadKey() ?

mick

From: Arne Vajhøj on
On 14-03-2010 13:12, sahel wrote:
> getch() in c language gets the char from user with out enter key
> is there any method like getch() in c# console app;

Console.ReadKey(false)

Arne

From: sahel on
On Mar 14, 8:37 pm, Arne Vajhøj <a...(a)vajhoej.dk> wrote:
> On 14-03-2010 13:12, sahel wrote:
>
> > getch() in c language gets the char from user with out enter key
> > is there any method like getch() in c# console app;
>
> Console.ReadKey(false)
>
> Arne

thanks 0f all . . . : - )
 |  Next  |  Last
Pages: 1 2
Prev: I solved this problem
Next: h0w readkey works?