摘要:
sizeof在非Unsafe环境下只能用于预定义的一系列类型,如Int,Short等等。而在Unsafe环境下,sizeof可以被用于值类型,但是值类型中不可以有引用类型,否则C#编译器会报错: error CS0208: Cannot take the address of, get the size of, or declare a pointer to a managed type ('Si... 阅读全文
posted @ 2008-11-29 22:33
张羿
阅读(463)
评论(0)
推荐(0)

浙公网安备 33010602011771号