The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
Console::Out Property
.NET Framework (current version)
Gets the standard output stream.
Assembly: mscorlib (in mscorlib.dll)
public: property TextWriter^ Out { [HostProtectionAttribute(SecurityAction::LinkDemand, UI = true)] static TextWriter^ get(); }
The following example uses the Out property to display an array containing the names of files in the application's current directory to the standard output device. It then sets the standard output to a file named Files.txt and lists the array elements to the file. Finally, it sets the output to the standard output stream and again displays the array elements to the standard output device.
.NET Framework
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 1.1
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: