i want to convert string to Byte[] in C# and with the help of previous topics i use this code :
string s = "0a";
System.Text.ASCIIEncoding encode = new System.Text.ASCIIEncoding();
byte[] b = encode.GetBytes(s);
Console.WriteLine(b);
but when i run this code it only prints : " System.byte[]"