curiouswebster
asked on
Changing LINQ to XML to Lambda to XML
Can I write these using a Lambda expression?:
var query = from xElem in doc.Descendants("Patient")
select new Patient(xElem);
XElement xml = new XElement("Patients",
from p in this
select p.XElement);
var query = from xElem in doc.Descendants("Patient")
select new Patient(xElem);
XElement xml = new XElement("Patients",
from p in this
select p.XElement);
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER