You can still create a structure and read data into it, object-wise. I'm
often using this approach.
C# can also serialize an object (for instance a structure) and write/read
directly, but the performance is extremely low and memory and disk consuming
(but its VERY easy).
/Morten Nielsen
http://www.iter.dk
"BobTheHacker" <an*******@discussions.microsoft.com> wrote in message
news:2D**********************************@microsof t.com...
I guess I am simply blind this morning. I have a binary file I want to
read into a predefined structure of ints/strings/shorts and arrays. How do
I go about this. In C++ I would simply define a type and read into it. All
I can find now is strings, chars and bytes.