.NET Fiddle

CSharp · Console

/Program.cs

using System;
					
public class Program
{
	public static void Main()
	{
        byte[] a = new [] {
          (byte)0x03,
          (byte)0x23,
          (byte)0x01,
          (byte)0x13,
          (byte)0x68,
          (byte)0xCC,
        };
		
		var s = Convert.ToHexString(a);
		
        Console.WriteLine(s);
	}
}
;