摘要: xml位于命名空间中时查找 static void Main(string[] args) { XElement root = XElement.Parse(@"<aw:Root xmlns:aw='http://www.efun.com'> <aw:Child1> <aw:GrandChild1> 阅读全文
posted @ 2024-09-18 17:19 echo-efun 阅读(111) 评论(0) 推荐(0)
摘要: static void Main(string[] args) { XElement purchaseOrder = XElement.Load("Contacts.xml"); string partNos = (string)(from item in purchaseOrder.Descend 阅读全文
posted @ 2024-09-18 17:09 echo-efun 阅读(39) 评论(0) 推荐(0)
摘要: using System.Xml.Linq; static void Main(string[] args) { XElement contacts = new XElement("Contacts", new XElement("Contact", new XElement("Name", "Pa 阅读全文
posted @ 2024-09-18 16:10 echo-efun 阅读(22) 评论(0) 推荐(0)
摘要: 网卡部分高级设置 1.节能以太网 Energy Efficient Ethernet 2.自动关闭Gigabit Automatically Close Gigabit 3.电量低时降低网络速度 Reduce Speed On Power Down 4.流控制 Flow Control 5.千兆主从 阅读全文
posted @ 2024-09-18 15:38 echo-efun 阅读(850) 评论(0) 推荐(0)
摘要: 1.查询一定范围数字 static void QueryInt() { // Specify the data source. int[] scores = { 97, 92, 81, 60 }; // Define the query expression. IEnumerable<int> sc 阅读全文
posted @ 2024-09-18 13:55 echo-efun 阅读(23) 评论(0) 推荐(0)