i cant find any method to do that..how should i do it? i can only find one to put it as char array!
\m/\m/
isn't a byte array an array of 1's and 0's? why would you want to out a string in that?
www.vb-tech.com .Net Freelance Development http://weblog.vb-tech.com/nick My blog
You can serialize it.
Utility to Convert Visual Studio.NET 2003 Project Files Edneeis.com
Code: string s = "Hello World"; byte[] b = System.Text.UnicodeEncoding.Unicode.GetBytes(s);
string s = "Hello World"; byte[] b = System.Text.UnicodeEncoding.Unicode.GetBytes(s);
Originally posted by Lethal Code: string s = "Hello World"; byte[] b = System.Text.UnicodeEncoding.Unicode.GetBytes(s); yeah..that was what i was looking for
Forum Rules