LINQPad – The .NET Programmer's Playground
11–20 of 137 posts
Re: LINQPad – The .NET Programmer's Playground
#12Honestly surprised that Microsoft have not bought this up and integrated it into Visual Studio. LINQPad is gold.
There is already a C# REPL built into Visual Studio, called C# Interactive. It takes a bit of getting used to, but it's not bad at all.
Re: LINQPad – The .NET Programmer's Playground
#13Re: LINQPad – The .NET Programmer's Playground
#14Re: LINQPad – The .NET Programmer's Playground
#15Also check out free open source alternative RoslynPad. https://roslynpad.net/
The only reason I would use something like LINQPad is for the syntax tree and semantic analysis support, for compiler extensions. With a name like RoslynPad, seems funny that such a feature would be missing from that "alternative"
(though I end up disabling it to reduce extra pressure on language server when it's unneeded)
Re: LINQPad – The .NET Programmer's Playground
#16Re: LINQPad – The .NET Programmer's Playground
#17Earlier quoted context omitted.
The only reason I would use something like LINQPad is for the syntax tree and semantic analysis support, for compiler extensions. With a name like RoslynPad, seems funny that such a feature would be missing from that "alternative"
If you'd like to explore syntax tree and related IOperations, there is a VS Code extension https://marketplace.visualstudio.com/items?itemName=333fred.... which lets you do just that, it has been very handy for writing source generators. (though I end up disabling it to reduce extra pressure on language server when it's unneeded)
Re: LINQPad – The .NET Programmer's Playground
#18Earlier quoted context omitted.
If you'd like to explore syntax tree and related IOperations, there is a VS Code extension https://marketplace.visualstudio.com/items?itemName=333fred.... which lets you do just that, it has been very handy for writing source generators. (though I end up disabling it to reduce extra pressure on language server when it's unneeded)
Again, only on Windows.
Re: LINQPad – The .NET Programmer's Playground
#19Honestly surprised that Microsoft have not bought this up and integrated it into Visual Studio. LINQPad is gold.
Products which would cost Microsoft absolute peanuts to acquire. Or even just use that as a model and rip it off entirely with an in house version.
Re: LINQPad – The .NET Programmer's Playground
#20 radios.GroupBy(x=> x.Channel).Select(x=>x.OrderBy(y=>y.Price)).Select(x=>x.First());
If I remember correctly, it also let you compare the LINQ query against the transpiled SQL so you could try to hand-optimize it a bit as well.