Display byte value with hexadecimal
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 Console.Write(number.ToString("X2") + " ") Next End Sub End Module