title: passing char pointer array of  c++ dLL  to c# string
body: <p>consider the following c++ code</p>
  
  <pre><code>#include "stdafx.h"
      #include&lt;iostream&gt;
      using namespace std;
  
  
  this much part i want in c#..
  
  void ping(int,char* d[]);
  
      void ping(int a,char *b[])
      {
      int size;
      size=sizeof(b)/sizeof(int); // total size of array/size of array data type
  
      //cout&lt;&lt;size; 
          for(int i=0;i&lt;=size;i++)
          cout&lt;&lt;"ping "&lt;&lt;a&lt;&lt;b[i]&lt;&lt;endl;
      }
  </code></pre>
  
  <p>and below part is in c++</p>
  
  <pre><code>int _tmain(int argc, _TCHAR* argv[])
  {
      void (*funcptr)(int,char* d[]);
  
      char* c[]={"a","b"};
      funcptr= ping;
      funcptr(10,c);
  
      return 0;
  }
  </code></pre>
  
  <p>how can i implement the same in c#..
  m new to c#. how can i have char pointer array in c#?</p>