Type Reason System.IO.IOException An I/O error occurred.
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). You can change the line terminator by setting the System.IO.TextWriter.NewLine property of the Console.Out property to another string. The example provides an illustration.