Changhong Fu
8 posts.
- .NET thread-pool threads and CLR worker threadsI will try to answer following questions in this article: - How many threads are available in .NET thread pool? - How long does the CLR take to create a…
- Solving memory leak in javascript with try-finallyIn my previous post, I discussed how return statement is executed in try-finally clause. So in following program:
- C# quiz - try-finallySo what is the output for following program? public class SimpleTest { public static void Main(string\[\] args) {
- How many projects should be in a Visual Studio solution?
- Debug into .Net Framework Source CodeI was writing some WPF testing code today. It was extremely simple code which just programmatically creates a Rectangle and adds it to a canvas. The code…
- How to get a CheckBox in a Winforms DataGridView to react to the first clickI had this problem today. It looks very simple, but actually took me a while to find a solution. The problem is: I have a Winforms DataGridView, and its…
- Restore ViewState data with ViewStateModeByIdIn my last post ViewState and Dynamic Control, I mentioned that ViewStateModeByIdAttribute.aspx) can be used to change the default behavior of how ASP.NET…
- ViewState and Dynamic ControlI thought I understand ViewState, until I came cross this exception: Failed to load viewstate. The control tree into which viewstate is being loaded must…
