I have never suspected that Microsoft had this built-in, but it appears to be the case. Code generator called T4 , which targets both C# or VB.NET, is built into your copy of Visual Studio and is available as you read this article. Basically, all you need is to add a new file to your solution with the extension

.tt
, and that's it, besides from actually writing the code for the template. Read more about it in the article Visual Studio .NET Macros for quick insertion of C# Conditional and Iteration Statements .
Tags: computers
Categories: None |

0 comments have been posted.

Your email: we will send you a confirmation link to this address to confirm your identity and to prevent robot posting
Get in touch
»...«
Follow updates

Join our social networks and RSS feed to keep up to date with latest news and publications