- 博客(3)
- 收藏
- 关注
原创 TraceSource Thread-safety
In this post, the thread-safety of TraceSource class is discussed. The TraceSource class is not thread-safe as MSDN declares due to an implementation deficit in Switch classes.
2011-04-05 23:35:00
721
原创 The type initializer for 'TestStatic.StaticClass' threw an exception.
今天写程序想实现一个Singleton模式,结果程序老是抛异常说"The type initializer for TestStatic.StaticClass threw an exception.",InnerException是"Object reference not set to an instance of an object",后来发现犯了一个非常低级的错误,代码如下:
2009-09-20 08:58:00
2721
原创 Dear diary moment
开始写 Blog,不知道能坚持多久。想起《老友记》里的一个情节:有个调酒师约Monica出去的时候,Chandler不失时机地讽刺一句说:“oh, this is a dear-diary-moment”,看来幼年发福Mon的男人缘一直不咋地——其实好像减肥成功以后也没有好转,要不怎么会end up with Chandler,呵呵。但愿我的dear-diary moment会好一点哈。
2009-08-25 00:07:00
1911
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人