c#
Uncle_Yong
不要像猴子一样聪明却碌碌无为
展开
-
对哈希表按value排序
一般是对Hash标按key排序,但是我现在遇到的是需要按value排序,而且value可能多个是相同的,这里value是decimal类型的。现在把我的代码跟大家分享,如果有更好的idea,尤其是我想把其中的比较器写成泛型,但是没成功。还请不吝赐教。 1。Comparer // // Abstract: // Comparer for Has原创 2010-01-20 10:58:00 · 4224 阅读 · 0 评论 -
裁减Image
/// /// Cut specified image with specified size /// /// the source image /// start point_x /// start point_y /// width of new image /// heigh原创 2009-12-30 18:04:00 · 966 阅读 · 0 评论