C# 代码审核
2021-05-05 00:26
标签:24* 审核 ble nbsp stream memory element tab ring string xml = " XElement root = XElement.Parse(xml); string strBook = root.Element("book").Value; string strAge = root.Element("age").Value; //返回为"",而不是null DataTable dt = new DataTable(); dt.Columns.Add("aa"); dt.Rows.Add(new object[]{DBNull.Value}); string aa = dt.Rows[0][0].ToString();//返回为"",而不是null byte[] buf = new byte[1024*1024]; MemoryStream m = new MemoryStream(); //测试出来,memoryStream会自动释放的 for (int i = 0; i
{ m.Write(buf, 0, buf.Length); } C# 代码审核 标签:24* 审核 ble nbsp stream memory element tab ring 原文地址:http://www.cnblogs.com/movemoon/p/7698765.html