Asked By krishna k
01-Mar-06 03:28 AM
hi every one,
here iam having the problem about charecter array.
In C Language he used pass the values as bellow
public unsafe struct x25data
{
char xd_data[];
int xd_len;
}
but here he is passing values as follows
x25data.xd_data[0]=0x42;
x25data.xd_data[1]=0x07;
x25data.xd_data[2]=0x07;
how can we pass the same values in C#.net.
can we pass them as he passed in c.
help me in this please.