How to Debug LINQ queries in C#

added by DotNetKicks
6/13/2019 2:56:53 PM

2 Kicks, 523 Views

LINQ is one of my favorite features in C#. It just makes the code look nicer. Instead of tedious foreach loops, we got a neat functional syntax that's easy to write and understand. Well, at least if we're using the method syntax flavor of LINQ. LINQ is also terrible to debug.