CSharp examples for System:Byte
Format Byte
using System.Text; using System.Linq; using System.Collections.Generic; using System;//w w w .ja v a 2 s .co m public class Main{ public static string FormatByte(byte b) { var sb1 = new StringBuilder(); sb1.Append(System.String.Format("{0:X2} ", b)); return sb1.ToString(); } }