LINQPad can't show the program results
Hi,
LINQPad does not display the program results, and there are no error messages if Language is "C# Statement"
Instead if I use "C# Expression" I can view results
Another ticks: If is selected "Automatically switch between "Expressions" and "Statements"...." option, no change is made by software.
Thanks for your great work
Comments
When using "C# Statement(s)", you must explicitly display the results yourself. Typically you would do this with
.Dump()
. In your case, follow the assignment ofquery
withquery.Dump();
Alternatively, you could iterate through the results and use
Console.Writeline
in some form.Great, it's work. Thank you very mutch