Interface
24 03 2014
As announced in my post about the “Null Object Pattern” I will explain the “Visitor Pattern” today. At the first time I maintained an application with visitors, I found it a bit confusing – Therefore I try to explain it based on my own experiences. The Visitor is a pattern of the category of behavior […]
Accept, C#, Code, Design, Game, Interface, Method, NET, Object, Patterns, Visit, Visitor
15 01 2014
Some days ago i got the problem, that I have to use a custom dictionary with as parameter for a service – therefore it must be serializable. I found an interessting solution from “Paul Welter” at his blog (XML Serializable Generic Dictionary). But that’s not all! I had to implement the Constructors for Dictionary and […]
C#, dictionary, Generic, Interface, NET, Serializable, Snippet, XMl
11 03 2013
In some cases it is necessary to cleanup unmanaged resources before the GC will do that. Because the GC only have the hand over managed but not unmanaged resources. So you won’t know when exactly unmanaged resource are cleaned up. For this you have to cleanup manually. A pattern for this work is called IDisposable. […]
C#, IDisposable, Interface, NET, Resources, Unmanaged, using