Completed C# generator.