Look at the CodeDom. You can load the existing classes, modify their object graph, and generate C# files (or even JIT compile and use).
solved Modifying an existing c# file [closed]
Look at the CodeDom. You can load the existing classes, modify their object graph, and generate C# files (or even JIT compile and use).
solved Modifying an existing c# file [closed]