1
Answer

Representation of char* [] in C#

Sangeetha

Sangeetha

15y
2.3k
1

Hi,

I am beginner in C#. I have a strcture in C as follows.

typedef struct _IPOD_OUT_GET_ALL_NAMES

{

DWORD dwStatus;

char* sNamesOfItems[256];

}IPOD_OUT_GET_ALL_NAMES;

This structure is used in a dll. I want to get this in my C# application.

How to represent this in C#. How can I retrieve the values from the char array in C#.

Please help.

Thanks

San

Answers (1)