How to input string to byte or byte[] (not convert)

Apr 20 2018 5:02 AM
 How to input string to byte or byte[] (not convert string)
1) Case bye
 
string s="0x30" ;
byte result=s;
 
2) Case byte[] 
string s="0x30,0x30" 
byte[] result={s} ;
 
Thank
Narin