there is a Binary stream file from A/D ,its format is fixed by known struct ,like this:
{
int i1;
short i2;
float i3;
char[] i4; //size of array is 24
int i5;
...
int in;
}
i can read it with a struct p in c++ like this:
file.Read(&p,size(p);
you know, in c# ,it may be read with class Serialization method, but it will produce an error."...mscorlib.dll error...BinaryFormatter version incompatible...."
how can i read this struct in c#?
