close
搞了好久,摸不著頭緒,原來是在
project-->properties(最底下那一個)--->Build
找到 Allow unsafe code 打勾就可了........^^
編譯器錯誤 CS0227
Unsafe Code giving error-"Unsafe code may only appear if compiling with /unsafe"
http://www.codeproject.com/Questions/105532/Unsafe-Code-giving-error-Unsafe-code-may-only-appe
Unsafe C# code snippet with pointers (要這樣使用喔!!)
http://stackoverflow.com/questions/1127377/unsafe-c-sharp-code-snippet-with-pointers
全站熱搜