Mega Code Archive

 
Categories / VB.Net / Development
 

Convert Byte arrays to String objects with the ToString method

Imports System Imports Microsoft.VisualBasic Module BytesToStringDemo     Sub Main( )         Dim arrayOne as Byte( ) = {0,1,2,4,8,16,32,64,128,255 }         Console.WriteLine( BitConverter.ToString( arrayOne ) )     End Sub  End Module