What I want to do is to read C# code, parse it, insert some method calls and compile it finally.
Is it possible to convert C# source code (a list of strings) to Code
The CSharpCodeProvider might be what you're looking for.