tags:

views:

189

answers:

2

Is there an application or utility that will convert LINQ to Lambda Expressions? (or an add-on to LINQPad)

+5  A: 

The other day, I was surprised to find that ReSharper does this, at least for C# (not sure about VB, if that's what you need).

Ben M
R# is a great tool every developer must have but it's not free.
Vadim
Thanks for the suggestion.
Jason N. Gaylord
+2  A: 

In LINQPad, you can click on the "lambda" button to get the lamdba version.

Edit: As RBarry says, its the upside down "y", between "Results" and "SQL". This shows up in the results page after you execute a query.

Nader Shirazie
which button is that?
Jason N. Gaylord
Lambda looks like an upside-down "y".
RBarryYoung
λ = lambda (http://en.wikipedia.org/wiki/Lambda)
Joe Chung
That's what I thought. I just tried it again and it's now working. Maybe there was an open thread in the app? Who knows. Time to format c: Thanks!
Jason N. Gaylord
Glad it worked. Good luck with the format :D
Nader Shirazie