---
title: "Discussion on \"Generating C# code programmatically\" | Hashnode"
description: "Discussion on \"Generating C# code programmatically\". Recently, while creating some experimental C# source code generators (xafero/csharp-generators), I was just concatenating strings together. Like you do, you know, if things have to go very quickly. If you have a simple use case, use a formatted multi..."
url: "https://hashnode.com/posts/generating-c-code-programmatically/6610a202451ea40e43c449d3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Generating C# code programmatically](https://xafero.hashnode.dev/generating-c-code-programmatically?utm_source=hashnode&utm_medium=feed)

Recently, while creating some experimental C# source code generators (xafero/csharp-generators), I was just concatenating strings together. Like you do, you know, if things have to go very quickly. If you have a simple use case, use a formatted multi...

Apr 6, 2024 · 2 min read · xafero.hashnode.dev  
Read the article

-   [#csharp](https://hashnode.com/tag/csharp)
-   [#roslyn](https://hashnode.com/tag/roslyn)
-   [#sourcegenerators](https://hashnode.com/tag/sourcegenerators)

## Written by

[xafero](https://hashnode.com/@xafero)

@xafero

  
[View profile](https://hashnode.com/@xafero)

Software developer by heart

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
