Home of the AlmostImplementedException


Introducing Design Patterns

As promised in my previous post about “Indexed Properties”, I will start to give you some insights into design patterns. What are “Design Patterns”? To make it short: Design Patterns are universal (language independed) solutions for recurring problems in object-oriented software architecture and development. In this post series we will limit to the common design […]

, , , , , , , , , , , , , ,

Compile code at runtime

Sometimes it is necessary to compile code explicitly at runtime. For example you can create a small user defined shell. Today I will show you how this can be done. At first we need the following: MemoryStream, StreamWriter and namespaces System.Reflection and System.CodeDom.Compiler. This works as follows: Define a source code that will be compiled […]

, , , , ,