I am an newbie to C#.NET. I had one program in which i am copying one DBF file to one buffer named BUFI and then getting some information like no. of fields/records/headersize etc. In C language, I used to get this information directly like :
fields = ((*((short *)(bufi+8)))-32)/32;
recs = *((long *)(bufi+4));
recsz = *((short *)(bufi+10));
headsz = *((short *)(bufi+8));
How can i get information using C#. Thanks in advance.