Lazy<T> property caching alternative

by Alex Siepman 17. March 2014 20:50
Lazy Has some disadvantages when you use it for caching properties, If you use other members of a class, it has to be set in the constructor. I created an anternative so you can implement the property in the property. Also caching IEnumerable makes no sence because you get a new iterator all the time so in fact it is not cached at all. This is also fixed, [More]

Enum to dictionary

by Alex Siepman 14. April 2012 10:30
Convert an enum to a enum-string dictionary with text including spaces. [More]

About the author

I am a software architect at Roxit and also a C# Developer. My main interests in the area of ​​C# are LINQ and generics

Visit my personal homepage (Dutch) for more info about me.

Month List

Page List