C#中使用指针

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

C#中使用指针时,要将工程->Properties->Debug->Enable unmanaged code debuging选中才能进行编译。
posted on 2007-08-29 20:57  sizzle  阅读(656)  评论(2编辑  收藏  举报