Is there a way to run simple c# code in vscode without creating a project?

This page summarizes the projects mentioned and recommended in the original post on /r/csharp

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • dotnet-script

    Run C# scripts from the .NET CLI.

    You can use dotnet script (https://github.com/filipw/dotnet-script). You won‘t need a project file and you’ll get IntelliSense in VS Code. You just have to install dotnet script as a global tool to be able to run it.

  • interactive

    .NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.

    To add: its github. It's a great project that allows you to write C#/F# in Jupyter Notebooks, VSC Notebooks, from a console, and even embed interactive kernel in your own app just via nuget package.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts