By mswatcher
via codeproject.com
Published: May 30 2008 / 11:43
Using Generic classes together with static members might not always work exactly as you would expect. In fact it works a little differently compared to the same non generic code! If you are coming from a non-generic coding background this might feel strange at first. Even if you are an ‘advanced generics user’, I consider myself to be on one, you might fool yourself into this devious trap. I recently did and when I later discovered the error I felt that it was worth writing it up as an article and share. I have the problem space as well as one way to solve the problem outlined in this article together with runnable code.
SaveShareSend
Tags: .net, frameworks, other languages
Add your comment