I have a string which represents a binary number: "1010", which represents a 10(ten) in decimal.
I need to write this string into a Stream but keeping the binary format. When normally you want to write a string, .Net will save it converting the current string into a byte array and then putting those bytes into the string, I do not want that, because the bytes that I want to contain my stream is that I have into the string "1010" for example.
How I do this???