LINQPad for writing C# snippets

by Dec 20, 2022

Sometimes I want to write a small C# snippet to test or check an idea.

But it is too much effort to start up Visual Studio (Code) or Rider and create a console app.

Even when I have any of these editors open, it is still much of a hassle. It’s often not even worth writing a test case for it.

LINQPad is an ancient tool, originally created to quickly write LINQ queries, but it is also perfect to write dotnet code (C#/F#/VB).

It’s my go to tool for writing C# snippets and just run them.

It’s eliminating friction for me, so I bought the tool. Buying gives, me intellisense (and debugging). You only realize how dependent you are on intellisense when you don’t have it 🤣.

What’s your favorite tool that solves a tiny problem?

Subscribe to
The Daily Friction

A daily newsletter on automation and eliminating friction

Related Content

Improving Optimization?

Improving Optimization? The traditional steps of Optimization: 1. Eliminate 2. Automate or 3. Delegate What if we added a missing element? Simplify. Before automating a convoluted workflow or delegating a tangled task, strip away the unnecessary. Make processes leaner...

read more

Unit tests for Dataverse plugins?

Unit tests for Dataverse plugins? I must admit, I almost never write unit tests for Dataverse plugins. Plugins are often quite simple, testing them in isolation is not particularly useful. Often you only test a couple of if-statements. Unit tests don't bring a lot of...

read more

New Dynamics 365 browser extension

New Dynamics 365 browser extension I'm trying out the new -Power Roles- extension and it looks very promising. You browse to a Dynamics 365 (or Power Apps) app and then you press -record-. It will then monitor all the action you do in the app and propose which...

read more