LINQPad is just for [no, not "breakfast"... ha.. fooled you] LINQ... Using LINQPad to execute code snippets.
I like to spend time on StackOverflow and contribute by answering as many questions as I have time to. Many of the questions consist of code that doesn’t always work as expected. In these times I find that LINQPad is the perfect tool to use when you want to run the sample code or create smaller samples yourself for your answers.
Don’t be confused by the name!
Just because the name is LINQPad, it doesn’t mean it only does LINQ. Even if evaluating and running expressions is what it does best. LINQPad will allow you to run the following code types:
- C# Expression
- C# Statement(s)
- C# Program
- VB Expression
- VB Statement(s)
- VB Program
- F# Expression
- F# Program
This makes LINQPad really powerful!
Best of all, there’s a free alternative with a little less sugar on it. I recommend buying a license to support this amazing developer tool though and it will give you autocompletion in LINQPad, which makes it even more powerful!
Running C# code
Let us take a look at LINQPad and what it looks like. Here’s what LINQPad looks like when you first start it up, it’s clean and intuitive:
Any day with a LINQPad tip is a good day... :)
Related Past Post XRef:
.DumpJson() - LINQPad Extension Fun...
Playing with the TFS API via LINQPad (as in using LINQPad to query TFS via the TFS API)
LINQPad +50 - Adding 50 LINQ examples from DevCurry to LINQPad's sample pallet
Since we're talking about LINQPad... StreamInsight v1.2 Driver and samples for LINQPad
Jesse liberates our LINQ'ness - Learning LINQ, from LINQPad to Visual Studio
LINQ[Pad] to Twitter
LINQPad’ing into Dallas - The latest LINQPad now has “Dallas” support baked in.
OData my LINQPad – LINQPad (beta) now supports Data Services/OData (and there’s .Net 4 rev too)
Need an ad-hoc query tool for your Azure data tables? LINQPad to the rescue
This post title made me laugh, “I've Left Query Analyzer Hell For LINQPad Heaven”
LINQPad and the Entity Framework
Getting External with LINQPad – Advanced LINQPad Dimecast (aka part 3 of 3)
Fun with .Dump() in LINQPad – An intermediate level Dimecast for LINQPad
Link to LINQPad – A Dimecast LINQPad Walkthrough
LINQPad - A Free Interactive LINQ to SQL (and others) Utility (Think "SQL Query Analyzer for LINQ")