Is it possible to have multi-step code generator? - C#