C# Source Generators: Less Boilerplate Code, More Productivity

added by DotNetKicks
5/4/2020 3:09:24 AM

618 Views

One exciting feature of the upcoming .NET 5 are Source Generators. Source Generators as the name suggests generate C# source code as part of the compilation process. Code generation is not a new concept in Visual Studio and .NET - for example T4 templates have been around for a while now and enable you to programmatically generate/transform content that can be compiled.


0 comments