Console::WriteLine Method (Char)
Writes the specified Unicode character, followed by the current line terminator, value to the standard output stream.
Assembly: mscorlib (in mscorlib.dll)
For more information about the line terminator, see the Remarks section of the WriteLine method that takes no parameters.
The following example is a tip calculator that calculates an 18% tip and uses themethod to display the amount of the original charge, the amount of the tip, and the total amount. The example is a console application that requires the user to supply the amount of the original charge as a command-line parameter.
Available since 1.1
Available since 2.0
Windows Phone Silverlight
Available since 7.0