posted @ 2009-02-13 10:54
随笔分类 - C#
posted @ 2008-02-16 23:07
posted @ 2008-02-05 21:23
posted @ 2007-12-06 11:19
posted @ 2007-11-22 16:27
扩展方法本质上只是一个编译器级别的语法糖, 但不引用.NET Framework 3.5的程序集却无法发布程序到 2.0/3.0版本的运行环境中, 因为它将使那些方法(扩展方法)带上ExtensionAttribute属性, 而就是 ExtensionAttribute这个类却存在于.NET Framework 3.5的程序集中. 其实只要使用一个小技巧即可以保证带有扩展方法的程序在Target到.NET Framework 2.0/3.0时通过编译...
阅读全文
posted @ 2007-11-17 22:19
posted @ 2007-09-29 11:30
posted @ 2007-09-07 17:20
posted @ 2007-08-25 09:05
posted @ 2007-08-10 15:30
posted @ 2007-08-07 13:56
posted @ 2007-07-25 02:26
posted @ 2007-06-27 22:00
posted @ 2007-05-19 10:47
posted @ 2007-04-13 12:17
posted @ 2007-04-01 19:04
posted @ 2007-03-18 15:36
posted @ 2007-03-11 20:34
posted @ 2007-03-11 11:24
posted @ 2006-10-28 11:31
浙公网安备 33010602011771号