At such times, I always turn to the most excellent LINQPad .
The front page of the linked site (at the time of writing) immediately jumps with material about SQL, but do not let this obscure how powerful and flexible this tool really is. I kind of treat him like an Immediate window on steroids. I find it invaluable for dealing with complex LINQ queries.
If you can live without intellisense, it's free (the intellisense version is paid).
Holf Dec 07 2018-12-12T00: 00Z
source share