Convert Byte to String with default format
Imports System.Globalization
Imports System
Module Example
Public Sub Main()
Dim numbers() As Byte = { 0, 16, 104, 213 }
For Each number As Byte In numbers
' Display value using default formatting.
Console.Write("{0,-3} --> ", number.ToString())
Next
End Sub
End Module
Related examples in the same category