上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 25 下一页
httphandler 只针对某个扩展名。httpmodule 所有访问都会执行点击打开链接http://stackoverflow.com/questions/6449132/http-handler-vs-http-module Read More
posted @ 2013-05-17 16:52 lein.wang Views(99) Comments(0) Diggs(0)
看一道雅虎 的面试题void test(int i){ lock(this) { if(i > 10) { i--; test(i); } }}这道题问的是会不会产生死锁?想考的是这么递归的去锁,会不会死锁,但其实这个问题可以看出2个问题来。这里多线程调用... Read More
posted @ 2013-05-15 17:39 lein.wang Views(290) Comments(0) Diggs(0)
分享一道雅虎的面试题public class ClassStaticCtor { public static int count = 0; static ClassStaticCtor(){ count++; } pub... Read More
posted @ 2013-05-15 15:40 lein.wang Views(204) Comments(0) Diggs(0)
父类构造函数先于子类构造函数执行,也就是说子类构造函数执行期间,父类已经构造出来,那么父类所有的成员都可以访问。但是最好还是让父类的构造函数自己去处理自己的逻辑,子类去插手,就有点耦合的意思了。#region extension method static class objectExtens... Read More
posted @ 2013-05-09 22:24 lein.wang Views(130) Comments(0) Diggs(0)
http://blog.csdn.net/youbl/article/details/2565375 Read More
posted @ 2013-05-09 22:08 lein.wang Views(99) Comments(0) Diggs(0)
点击打开链接http://baike.baidu.com/view/3798770.htm点击打开链接http://www.infoq.com/cn/news/2010/02/deciphering-burndown-charts Read More
posted @ 2013-05-08 11:36 lein.wang Views(132) Comments(0) Diggs(0)
Array.sort 有3种方式:待排序对象实现了IComparable 接口class Person :IComparable{ private String firstname; public String Firstname { ... Read More
posted @ 2013-04-28 21:02 lein.wang Views(501) Comments(0) Diggs(0)
有几篇文章写的蛮好点击打开链接http://www.tracefact.net/csharp-programming/delegates-and-events-in-csharp.aspx点击打开链接http://www.cnblogs.com/lin614/archive/2007/01/30/6... Read More
posted @ 2013-04-27 17:17 lein.wang Views(142) Comments(0) Diggs(0)
收录几篇文章点击打开链接http://luxiao1223.blog.51cto.com/2369118/482885点击打开链接http://mao.li/javascript/javascript-callback-function/点击打开链接http://www.phpv.net/html/... Read More
posted @ 2013-04-24 22:39 lein.wang Views(111) Comments(0) Diggs(0)
这里的using不是指引入程序集的那个using。是指 using(class t = new class()){ xxxxxxxxxxxxxxxxxxxxxx }这里的using的作用是如果这个class实现了IDisposable接口,等价于这样一段:try{calss t = new clas... Read More
posted @ 2013-04-22 21:33 lein.wang Views(113) Comments(0) Diggs(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 25 下一页