Click here to Skip to main content
15,881,852 members
Articles / Programming Languages / C#

.NET Code Generation through StringTemplate

Rate me:
Please Sign up or sign in to vote.
3.75/5 (13 votes)
30 May 2008CPOL6 min read 90.3K   515   35  
This article concisely introduces StringTemplate with a practical .NET code generation example. The scenario includes common issues when it comes to code generation such as conditionally generating codes, loop, and token replacement.

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer ITCAC(數位協進)
Taiwan Taiwan
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions