C# Expression - executes twice?

Try it....

(from x in Enumerable.Range(0, 5) select x).Dump()

By design? Difficult for me to image that it would be.

Am using a beta (v 4.44.09)... perhaps an oversight.

Comments

  • Try it without the explicit call to Dump().

    When Language is set to C# Expression, it basically wraps the code and calls Dump() on it.
  • Ah.. rarely use that option. Makes perfect sense.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!