raindust

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2007年8月14日

摘要: 深入非安全代码 编写非安全代码需要使用特殊的关键字unsafe与fixed。如果你还记得的话,有三种指针操作符: * & -> 任何使用了上述任一指针操作符的语句、语句块或者函数都应用unsafe关键字标记为非安全代码,就象这样: public unsafe void Triple(int *pInt){ *pInt=(*pInt)*3;... 阅读全文
posted @ 2007-08-14 18:32 ymz 阅读(506) 评论(0) 推荐(0) 编辑

摘要: traceback:http://www.cnblogs.com/f4f16/archive/2006/09/18/507082.htmlVisual Studio (1)C#: using System;using System.Collections.Generic;using System.Text;namespace ClassLibrary1{ public class Class... 阅读全文
posted @ 2007-08-14 10:53 ymz 阅读(3912) 评论(0) 推荐(0) 编辑