[Mono-list] Console Help!

Jaroslaw Kowalski jaroslaw.kowalski@atm.com.pl
Tue, 6 May 2003 16:24:46 +0200


Have you tried Console.Read() ??

It seems to have the same semantics as getch() (-1 = EOF, otherwise cast to
(char) and you have your input).

Jarek

P.S. I haven't tried it, but VS.NET docs say it should work.

----- Original Message -----
From: "Eduardo Osorio Armenta" <e_osorio@yahoo.com>
To: "mono-es" <mono-hispano@es.gnome.org>; "mono-ximian"
<mono-list@lists.ximian.com>
Sent: Tuesday, May 06, 2003 4:00 PM
Subject: [Mono-list] Console Help!


> Hi i hope someone help me!
>
> i DllImport the _getch() of "MSVC.dll"
>
> but i want to resemble the getch() function of 'C'
> but with pure C# code.
>
> thanks
>
>
>
>
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo.
> http://search.yahoo.com
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>