- 博客(6)
- 资源 (5)
- 收藏
- 关注
原创 C# 4.0 New Feature
Covariance and Contravariance在 .NET Framework 4 中,Func 泛型委托(如 Func)具有协变返回类型和逆变参数类型。Action 泛型委托(如 Action)具有逆变参数类型。这意味着,可以将委托指派给具有派生程度较高的参数类型和(对于 Func 泛型委托)派生程度较低的返回类型的变量。(in 关键字)输入参数为逆变,(out 关键字)返回值为协变。public interface IEnumerable { /* ... */ }Notice the ou
2010-10-28 13:33:00 692
转载 From Dr.WPF 的Tabcontrol的MVVM性能问题
<br />(http://groups.google.com/group/wpf-disciples/browse_thread/thread/6f3531a1720252dd?pli=1)<br /> <br />(moving to public group) <br /><br /> This topic is on my todo list for my ItemsControl series. I just <br />need to find some blog time. <br
2010-10-25 21:24:00 2229
转载 How Good C# Habits can Encourage Bad JavaScript Habits
<br />Bad Practices1. Having Variables & Functions in Global Scope<br />A best practice in C# is to limit the use of global variables. This doesn’t necessarily translate into a bad practice in JavaScript, but most C# developers are not aware of how easily
2010-10-12 12:54:00 585
转载 Ten caching mistakes that break your app
小心使用你的Cache。。。http://www.codeproject.com/KB/web-cache/cachingmistakes.aspxTen caching mistakes that break your appBy Omar Al Zabir | 5 Oct 2010 | Unedited contribution Part of The Cloud Zone. Caching large objects, duplicate objects, caching coll
2010-10-11 17:17:00 606
转载 ASP.NET File Upload with Progress Bar
<br />支持实时显示状态的Upload File.<br /> <br />http://www.codeproject.com/KB/webforms/FileUploadWithProgrss.aspx<br />http://www.codeproject.com/KB/webforms/FileUploadWithProgrss/FileUpload.zipIntroduction<br />File upload widget that will display real time file
2010-10-11 12:46:00 1010
转载 6 ways of doing locking in .NET (Pessimistic and optimistic)
<br />http://www.codeproject.com/KB/aspnet/6WaysLock.aspx6 ways of doing locking in .NET (Pessimistic and optimistic)<br />Introduction<br />Why do we need locking?<br />How can we solve concurrency problems?<br />What kind of confusion is caused because o
2010-10-09 17:31:00 816
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人