I'm using the below code to create a Binary
file.
var a = new[]
{
"C50-12-25",
"C50-12-20"
};
using (var bw = new BinaryWriter(File.Open("file.bin", FileMode.Create)))
{
foreach (var i in a)
{
bw.Write(i);
}
}
I opened the file and I'm not seeing something that resembles a picture like this which I always thought a Binary
file would look like.
http://www.dotnetperls.com/binary.png
I'm actually able to read the complete text I have written.
C50-12-25 C50-12-20
So is this it? I'm completely new to this so any help to point me in correct direction will be a lot to me.