LINQ利用LINQ读取XML文件中的内容 var querylist=from m in XElement.Load(MapPath("Movies.xml")).Elements("Movie") select m;