views:

238

answers:

2

How can I write a console application that prompts me and lets me enter LINQ expressions and it will spit out the results of that LINQ query?

What would be the easiest way to parse/evaluate a incoming string as a LINQ expression?

A: 

Console app is to awkward to use for thousands of reasons. Try LinqPad

Anton Gogolev
This is functionality I'm looking to add to an existing application. I know about LinqPad
+1  A: 

use Dynamic LINQ query library , see this

Adinochestva