Dispose Pattern
Dispose Patterns is about controlling resource management. Unlike GC.Collect() , this can be used to finalize specific object Used to control resource management. Can be done by implementing the...
View ArticleUnderstanding Delegates
Represents a class Type-Safe Delegate types are derived from delegate class (actually MultiCastDelegate subclass of delegate) delegate is sealed class Instantiated delegate is of type object so can be...
View ArticleResolve Description from dynamic enum values
I was today stuck with the dilemma for making changes to a bottom level library which depended on types defined on top level libraries. The intention of the generic code at the bottom layer was well...
View ArticleWhen to use yield return instead of return
You will typically use the return when you have the complete result available. But there are cases like below when this approach might not be desirable or achievable a) would desire to rather spread...
View Article