Skip to content

Instantly share code, notes, and snippets.

View JasminSAB's full-sized avatar
💭
Code til your code is better and your better is the best.

JS JasminSAB

💭
Code til your code is better and your better is the best.
View GitHub Profile
@JasminSAB
JasminSAB / Roslyn.CodeGeneration.Program.cs
Created July 4, 2023 19:53 — forked from cmendible/Roslyn.CodeGeneration.Program.cs
Create a class with dotnet core and roslyn with using statements outside the namespace
using System;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Roslyn.CodeGeneration
{
public class Program
{
public static void Main(string[] args)