Class Console
Writes the specified data, followed by the current line terminator, to the standard output stream.
Inherited Members
Namespace: System
Assembly: mscorlib.dll
Syntax
public static class Console
Remarks
The default line terminator is a string whose value is a carriage return followed by a line feed ("\r\n" in C#, or vbCrLf in Visual Basic). In .NET nanoFramework this will write to Visual Studio Output window.
Methods
Write(string)
Writes the specified string value to the standard output stream.
Declaration
public static void Write(string value)
Parameters
Type | Name | Description |
---|---|---|
string | value | The value to write. |
Remarks
In .NET nanoFramework this will write to Visual Studio Output window.
WriteLine()
Writes the current line terminator to the standard output stream.
Declaration
public static void WriteLine()
Remarks
In .NET nanoFramework this will write to Visual Studio Output window.
WriteLine(string)
Writes the specified string value, followed by the current line terminator, to the standard output stream.
Declaration
public static void WriteLine(string value)
Parameters
Type | Name | Description |
---|---|---|
string | value | The value to write. |
Remarks
In .NET nanoFramework this will write to Visual Studio Output window.