This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 11th, 2012  |  syntax: C#  |  size: 0.24 KB  |  views: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.                         StringBuilder hex1 = new StringBuilder(length * 2);
  2.                         foreach (byte b in hex)
  3.                             hex1.AppendFormat("{0:x2}", b);
  4.                         textBox2.Text = hex.ToString();
clone this paste RAW Paste Data