![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
文章平均质量分 82
sidec
Any intelligent fool can invent further complications, but it takes a genius to retain, or recapture, simplicity.
展开
-
Something behind yield
Today I spent quite some time on digging into C# yield keyword. It is one of the hard areas in C# for me to understand. I started by reading the C# reference but it didn’t help me too much, until I fo原创 2009-07-21 09:45:00 · 422 阅读 · 0 评论 -
What the hell is cmp byte ptr[rax],0 in a managed mini dump?
Today I get a managed minidump which contains a NULL REFERENCE exception.There are very limited information within the minidump – no full image information, no full heap. Debugging such kind of mini原创 2009-10-23 09:34:00 · 1575 阅读 · 0 评论 -
Gen 2 memory leak caused by WPF TextBox?
Problem:I wrote a small program several months ago, which is just as simple as pulling data from a server and then displaying it on UI. At that time I was studying WPF so I chose to use WPF to i原创 2010-01-06 23:09:00 · 1716 阅读 · 3 评论 -
Check vs unchecked
From the C# specification:The following operations are affected by the overflow checking context established by the checked and unchecked operators and statements:The predefined ++ and -- unary op原创 2010-03-30 11:04:00 · 312 阅读 · 0 评论