if i wanted to pass like an integer instead of a string how would i do this?
byte[] helloBytes = Encoding.UTF8.GetBytes(“1”);
if i wanted to pass like an integer instead of a string how would i do this?
byte[] helloBytes = Encoding.UTF8.GetBytes(“1”);
Do you want to convert a string containing an integer to an integer variable?
If so, try
int x = Int32.Parse("123");