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

Unlock the power of .NET’s latest collection types!

Unlock the power of .NET's latest collection types! Here's a guide for when to best use the new Readonly, Immutable, and Frozen collections. You won't believe how it can optimize your code! πŸ‘‡ 1️⃣ Readonly Readonly is a readonly view of the original collection it was...

read more

πŸ’‘Tip: Convert FetchXml to a Query expression

πŸ’‘Tip: Convert FetchXml to a Query expression Have you had a situation where you have a FetchXml query, but you needed to inspect, tweak, or extend it a little? You can load it into a XElement or XDocument and fiddle with it. But you can ask Dataverse to convert your...

read more