String to Byte Array Conversion in C# and VB.NET (and back)

http://www.chilkatsoft.com/faq/DotNetStrToBytes.html