C#中使用指针

程序段中使用指针
unsafe
{
        int * i;
        char * c;
}
函数中使用指针
public unsafe void Func()
{
        char * c;
        int ** i;
        .......
}

C#中使用指针时,要将工程->Properties->Debug->Enable unmanaged code debuging选中才能进行编译。
原文地址:https://www.cnblogs.com/sizzle/p/875091.html