11 2010 档案

摘要: blowing in the wind 歌手:Bob Dylan How many roads must a man walk down Before they call him a man How many seas must a white dove sail Before she sleeps in the sand How many times must the cannon bal...阅读全文
posted @ 2010-11-26 21:29 liuwei0514 阅读(12) | 评论 (0) 编辑
摘要: http://forums.asp.net/t/1183564.aspx 在这里提出了一个我也想问的问题 问题描述: bll 4个类 blla bllb bllc blld blld.f() { blla.f(); bllb.f(); bllc.f(); } 这里 bllc.f();发生异常要撤销bllb.f();blla.f(); 解决 1: http://forums.asp.ne...阅读全文
posted @ 2010-11-25 11:50 liuwei0514 阅读(48) | 评论 (0) 编辑
摘要: y.Level.ToString().PadLeft(y.Level*2, (char)0xA0) + y.Name, 想了好久 终于找到了阅读全文
posted @ 2010-11-23 21:56 liuwei0514 阅读(7) | 评论 (0) 编辑
摘要: 首先 一个生成Lambda表达式的静态类 public static class PredicateExtensions    {        public static Expression<Func<T, bool>> True<T>() { return f => true; }        public static Expressio...阅读全文
posted @ 2010-11-03 17:11 liuwei0514 阅读(700) | 评论 (1) 编辑