Home of the AlmostImplementedException



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 […]

, , , , , , ,

Debug another application

Today I will show up how we could build an application that is able to can debug another. Since a while I got a problem to control an obsolete program that is productive for a while in the company I work, because it is regulary crashing and we have to know when this happens to […]

, , , ,

Caching objects in .Net with MemoryCache

In .Net 4.0 Microsoft indroduces a new universal cache. For quite some time caches were already present in ASP.Net, but could (should) not be used in C# or VB.Net. With the new package System.Runtime.Caching there is now an easy way to implement a cache in any program, like a WebService or WPF-Application. As you will […]

, ,

Implementation of a string reverse Extension Method

This is a follow-up of Introducing Extension Methods This method is an extension of the string-class. It reverts a string in a very efficient way and it is widely used around the world. Faster methodes use either unsafe code or only work fast on very short strings. Share :

, , ,

Introducing Extension Methods for Arrays

With Extension methods you can extend the existing funtionality of objects and types. In this case we will extend the functionality of an Array. So we need to create two extensions. One for changing the size and one for appending a new element. What do we need for this? At first we need a static […]

, , , ,

Simple Ini class

This time I have a small snippet for you which is for simple processing of ini files. I programmed the snippet a long time ago. At this time I used an other naming convention for code than now. I hope this can be useful. Ini files are still in use for simplified storage of settings. […]

, , ,