I have a class

```
class DataqFmt 
{
public:
    unsigned short  SR_number;
    unsigned short  SR_numerator;
    unsigned char   offset;
    unsigned char   nbytes;
    short       hdr_bytes;
    unsigned long   dat_bytes;
        char        dummy[1144];
};

```

code c++ :

```
afl = fopen(path, "rb");
DataqFmt dataqstr;
fread ((char*) &dataqstr, sizeof (dataqstr), 1, afl);

```

How can i convert this code c++ to c# . Please help me