0

I have this object and want to convert it to byte[]

 var b =  new ObjectParameter("historyversion", typeof(string));

How can I do that? b must convert to byte[] in asp.net

Shmwel
  • 1,697
  • 5
  • 26
  • 43
user3721173
  • 41
  • 1
  • 1
  • 10
  • 2
    possible duplicate of [Convert any object to a byte\[\]](http://stackoverflow.com/questions/4865104/convert-any-object-to-a-byte) – haim770 Jun 24 '14 at 06:43
  • take a look here: http://stackoverflow.com/questions/472906/converting-a-string-to-byte-array – HypeZ Jun 24 '14 at 06:43

0 Answers0