CSharpRepl – Your Ultimate C# Playground in the Terminal

So, listen up! CSharpRepl is this awesome command-line tool that allows you to get hands-on with C# programming without any hassle. With this tool, you can write, execute, and experiment with your code, all within your terminal. This means that you no longer have to create a new console app each time you want to test something in C#. It’s a great way to get hands-on with C# programming without any hassle.

It’s super easy to use, with fancy features like code highlighting and instant error checking to keep you on track, and even support adding Nuget packages.


Stay In Touch

Subscribe to our mailing list to stay updated on topics and videos related to .NET, Azure, and DevOps!

By submitting your information, you’re giving us permission to email you. You may unsubscribe at any time.


Go ahead and install the latest dotnet SDK and run the following in your terminal

dotnet tool install -g csharprepl

After installation, simply type csharprepl and press enter to use the tool.

If you happen to make any mistakes, there is an error checking mechanism in place to help you identify and correct them.

You can install external Nuget packages or add references to existing projects using the #r command. Additionally, installed packages provide intellisense.

Go give Will a star on github (https://github.com/waf/CSharpRepl) and explore more features

Happy Coding!

Recent Posts

Adding Custom Formatting to Your Classes with IFormattable
DateTime has a great feature that I often replicate in my classes: the ability for users to format the ToString output however they want. Using …
Azure-Sync: Sync your Azure App Settings to local
Azure-Sync is a handy shell script tool designed to help .NET developers working with Azure App Services. Inspired by the functionality provided by the Azure …
Implement Builders easily with Source Generator in .NET
I created a YouTube video on Source Generator in which I showcased one possible implementation. However, I feel that I didn’t fully highlight its capabilities. …
Secure On-Premise .NET Application with Azure Key Vault
Suppose you have your Web App and Database server hosted locally on your On-Premises servers. You want to use Azure Key Vault with your .NET …

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.