C# Source Generators – Write Code that Writes Code



With C# 9 there is finally an officially supported mechanism for generating source code into your .NET projects as part of the compiler pipeline. Lets run through how they work, some of the pros and cons, and play around with ideas to get your mind racing with the possibilities.

Get your questions answered on the Microsoft Q&A for .NET – http://aka.ms/dotnet-qa‚Äč
Learn .NET with free self-guided learning from Microsoft Learn: http://aka.ms/learndotnet

Comments are closed.