char pointer array in c#
- by james
consider the following c++ code
#include "stdafx.h"
#include<iostream>
using namespace std;
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<<size; 
    for(int i=0;i<=size;i++)
        cout<<"ping "<<a<<b[i]<<endl;
}
int _tmain(int argc, _TCHAR* argv[])
{
    void (*funcptr)(int,char* d[]);
    char* c[]={"a","b"};
    funcptr= ping;
    funcptr(10,c);
    return 0;
}
how can i implement the same in c#..
m new to c#. how can i have char pointer array in c#?