O'Reilly logo

.NET Common Language Runtime Unleashed by Kevin Burton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

System.Console

This class has already been used extensively throughout this book, but you might not be aware of a couple of points. This class allows the programmer to “redirect” the standard input, standard output, and standard error. This is how a managed application can be included as part of a Web page and the output appears on the generated Web page. In addition, it is possible for the programmer to acquire a stream associated with standard error, standard output, and standard input rather than taking the defaults in the Write, WriteLine, Read, and ReadLine methods.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required