thr thr - 17 days ago 5
C# Question

C# code generation tool

I'm looking for a tool that can do scripted code generation for me on the .NET platform.

Answer

Have a look at the T4 Text Template tool that is built-in Visual Studio.

It look like ASP.NET markup but instead of generating a webpage, it generate C# code.