Cloning
Framework Design Guidelines advise against implementing ICloneable
or even using it in public APIs mostly because this interface does not specify whether the copy is deep or shallow.
Can we do better?
I found a somewhat verbose code in a sample. I do not know what worries me the most: that someone thought it was easier to write this many lines of inefficient code or the fact that may be it was not simple enough to find the method in the documentation.
Read moreAs an asp.net MVC application is an application and not a site, as introduced by asp.net 2.0, IResourceProvider
does not seems to be available.
The TPL DataFlow exposes classes to manipulate data asynchronously. It is based on the Task library and on two the interfaces ISourceBlock<T>
and ITargetBlock<T>
.