上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 21 下一页

2006年11月25日

摘要: Something About .Net Memory Management You Need to Know 阅读全文

posted @ 2006-11-25 21:03 Adrian H. 阅读(973) 评论(0) 推荐(0) 编辑

摘要: I wrote two generic class to implement these two algorithms, so you can use these classes to generate permutations and combinations for some use, such as software testing.Using the Code: using System... 阅读全文

posted @ 2006-11-25 16:21 Adrian H. 阅读(7280) 评论(12) 推荐(1) 编辑

2006年11月20日

摘要: Question有一根27厘米的细木杆,在第3厘米、7厘米、11厘米、17厘米、23厘米这五个位置上各有一只蚂蚁。木杆很细,不能同时通过一只蚂蚁。开始时,蚂蚁的头朝左还是朝右是任意的,它们只会朝前走或调头,但不会后退。当任意两只蚂蚁碰头时,两只蚂蚁会同时调头朝反方向走。假设蚂蚁们每秒钟可以走一厘米的距离。编写程序,求所有蚂蚁都离开木杆的最小时间和最大时间。最小时间肯定大家都很容易就想到了, 就是蚂... 阅读全文

posted @ 2006-11-20 15:18 Adrian H. 阅读(1649) 评论(0) 推荐(0) 编辑

2006年11月12日

摘要: From Rotor(Shared Source CLI) :/*77: Implementation Notes:78: Dictionary was copied from Hashtable's source - any bug fixes here79: probably need to be made to Dictionary as we... 阅读全文

posted @ 2006-11-12 17:25 Adrian H. 阅读(904) 评论(0) 推荐(0) 编辑

摘要: 第一个Gadget就是这个Clock(如下图), 启动的时候也有Vista Sidebar的时针动画~ 看上去挺Cool很喜欢Vista自带的Sidebar的风格, 所以我做的风格也很倾向于Vista Sidebar. Sidebar的背景是可以自定义为图片, 现在的黑色玻璃背景就是我用Photoshop 涂的, 用WPF做这些工作真是很方便. 阅读全文

posted @ 2006-11-12 13:11 Adrian H. 阅读(927) 评论(0) 推荐(0) 编辑

上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 21 下一页