lamba expressions

  • Thread starter Thread starter Mike P
  • Start date Start date
M

Mike P

I've just been reading up on lambda expressions and how you can use them
to make selections from XML in a similar syntax to SQL. Does this mean
there will be no more need for Xpath? I have used Xpath once or twice
and hate the
syntax, and I would be delighted if I could use lambda expressions
instead when Orcas is released.
 
I've just been reading up on lambda expressions and how you can use them
to make selections from XML in a similar syntax to SQL. Does this mean
there will be no more need for Xpath? I have used Xpath once or twice
and hate the syntax, and I would be delighted if I could use lambda expressions
instead when Orcas is released.

Yes, you'll be able to use lambda expressions with LINQ to XML. That
doesn't mean a death to XPath, but it does mean that there are many
scenarios where you would have previously used XPath but don't have to
now. And yes, that's a very good thing :)

Jon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top