Dynamic code generator for C#