What is the modification needed in the following code to get XML from DataContext?
DataClasses1DataContext dc = new DataClasses1DataContext();
var query=new XElement("Numbers",
from p in dc.Pack
select new
{
XElement("Number",p.PK),
XElement("Value",p.Value)
}
);