byte array to hex csharp

Code Example - byte array to hex csharp

                
                        public static string ByteArrayToString(byte[] ba)
{
  return BitConverter.ToString(ba).Replace("-","");
}