UnicodeEncoding.CharSize : UnicodeEncoding « Internationalization I18N « VB.Net






UnicodeEncoding.CharSize

 

Imports System
Imports System.Text

Class UnicodeEncodingExample
    Public Shared Sub Main()
        Console.WriteLine("Unicode character size: {0} bytes", UnicodeEncoding.CharSize)
    End Sub 
End Class

   
  








Related examples in the same category

1.UnicodeEncoding Class represents a UTF-16 encoding of Unicode characters.
2.Create a UnicodeEncoding to support little-endian byte ordering and include the Unicode byte order mark.
3.Create a UnicodeEncoding to support little-endian byte ordering and not include the Unicode byte order mark
4.Create a UnicodeEncoding to support big-endian byte ordering and include the Unicode byte order mark
5.Create a UnicodeEncoding to support big-endian byte ordering and not include the Unicode byte order mark
6.Create UnicodeEncoding class.