Re: ReadLine and WriteLine



why?
<wackyphill@xxxxxxxxx> escribió en el mensaje
news:1129030719.531874.148630@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Make your first line a readline()
>
> alberto wrote:
> > In this code for a console application:
> >
> > int n;
> >
> > n = Console.Read();
> >
> > Console.WriteLine(n);
> >
> > Console.ReadLine();
> >
> >
> >
> > I need write the last sentence (Console.ReadLine()) twice to the program
> > make a pause. Can somebody tell me why? Thank you
>


.



Relevant Pages

  • Re: ReadLine and WriteLine
    ... Make your first line a readline() ... alberto wrote: ... > In this code for a console application: ... > int n; ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: swing console
    ... >> linux and happily uses xterm and readline. ... good example seems to me matlab command window or autocad ... First you mentioned a "console ... > Swing widget, which is one that displays graphical windows. ...
    (comp.lang.java.gui)
  • Re: Reading a keystroke in a Console app
    ... Scott ... > I'm writing a console application. ... Both Read and ReadLine wait for enter ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: get "default" text from the console
    ... ReadLine will read data. ... If you want to write some text on the console ... before reading, just call Write or WriteLine with that text, and handle ...
    (microsoft.public.dotnet.languages.csharp)