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 HostProtectionAttribute attribute applied to this type or member has the following Resources property value: UI. The HostProtectionAttribute does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the HostProtectionAttribute class or SQL Server Programming and Host Protection Attributes.
The following example is a tip calculator that calculates an 18% tip and uses the WriteLine method 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.