is a byte array an octal number ?
C#
3
Posts
3
Posters
0
Views
1
Watching
-
when i'm looking at a value and using console.writeline(byte[0]); to print the output of a network stream. i am getting a 69 printed to the screen. is this an octal number or the binary number 69? 01000101?
-
when i'm looking at a value and using console.writeline(byte[0]); to print the output of a network stream. i am getting a 69 printed to the screen. is this an octal number or the binary number 69? 01000101?
If it was octal, it wouldn't have a 9 in it. If it was binary, then it wouldn't have a 6 OR a 9 in it. I would have thought byte was a keyword and couldn't be an array name... If you're worried, use ToString and pass it a format so you know what it is.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog