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.

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

HybridCache in .NET 9 is Awesome!
.NET 9 is now live, and it comes with a new set of features. Some are great, and some are just icing on the cake. …
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. …

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.