Culture-Sensitive VB.NET Method
using System.IO
Public Shared Sub WriteLine(value As Boolean)
Public Shared Sub WriteLine(value As Char)
Public Shared Sub WriteLine(buffer As Char())
Public Shared Sub WriteLine(value As Decimal)
Public Shared Sub WriteLine(value As Double)
Public Shared Sub WriteLine(value As Integer)
Public Shared Sub WriteLine(value As Long)
Public Shared Sub WriteLine(value As Object)
Public Shared Sub WriteLine(value As Single)
Public Shared Sub WriteLine(value As String)
Public Shared Sub WriteLine(value As UInteger)
Public Shared Sub WriteLine(value As ULong)
Public Shared Sub WriteLine(format As String, arg0 As Object)
Public Shared Sub WriteLine(format As String, ParamArray arg As Object())
Public Shared Sub WriteLine(buffer As Char(), index As Integer, count As Integer)
Public Shared Sub WriteLine(format As String, arg0 As Object, arg1 As Object)
Public Shared Sub WriteLine(format As String, arg0 As Object, arg1 As Object, arg2 As Object)
Public Shared Sub WriteLine(format As String, arg0 As Object, arg1 As Object, arg2 As Object, arg3 As Object)
Internationalization (I18n) Method Overview
The WriteLine method writes the current line terminator to the standard output stream.
For more information see Microsoft's
MSDN online documentation.
I18n Issues
The Writeline method relies on a user's system to be set up correctly and being able to properly display the contents passed through the parameters. There is no guarantee that for example Japanese characters will show up uncorrupted in the console for a North American or European user.
WriteLine(Boolean) - Since this will write a text representation of the boolean value to the console, there is an inherent translation problem here. The recommended fix is to pass in the translated values for 'True' or 'False' instead.
WriteLine(Single) and WriteLine(Double) both rely on the locale being set correctly. For example, if Locale is not taken into account, problems are likely to arise with decimal commas vs decimal periods.
VB.NET Encoding Information
|