在托管数组中不允许使用指针算法。
下面的示例演示如何向托管函数传递非托管数组。
The following example demonstrates passing an unmanaged array to a managed function.
一旦连接起来,你就能读写文件的任意部分,就像它已经不再是非托管内存数组了。
Once linked, you can read and write to any part of the file as if it were nothing more than just an array of unmanaged memory.
应用推荐