02 2022 档案

摘要:1、用文件流判断 using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.InteropServices; using System.Text; 阅读全文
posted @ 2022-02-28 15:03 Trinamic-一蓑烟雨 阅读(2817) 评论(0) 推荐(0) 编辑
摘要:最近程序上用到了计时功能,对某个模块进行计时,暂停的时候模块也需要暂停,启动的时候计时继续 用到了Stopwatch Stopwatch的命名空间是using System.Diagnostics; using System; using System.Collections.Generic; us 阅读全文
posted @ 2022-02-28 13:47 Trinamic-一蓑烟雨 阅读(711) 评论(0) 推荐(0) 编辑
摘要:首先我们先了解样本标准差和总体标准差: 样本标准差=方差的算术平方根=s=sqrt(((x1-x)^2 +(x2-x)^2 +......(xn-x)^2)/(n-1)) 总体标准差=σ=sqrt(((x1-x)^2 +(x2-x)^2 +......(xn-x)^2)/n ) 下面是简单的区别: 阅读全文
posted @ 2022-02-19 16:20 Trinamic-一蓑烟雨 阅读(3848) 评论(0) 推荐(1) 编辑
摘要:使用C#对XML文件进行操作,包括生成一个XML文档,以及读取XML文档中的内容,修改某个元素中的内容 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System 阅读全文
posted @ 2022-02-10 14:53 Trinamic-一蓑烟雨 阅读(652) 评论(0) 推荐(0) 编辑
摘要:XML文档内容: 1、文档声明2、元素=标签 文档总至少要有一个根元素3、属性4、注释 <!--注释内容-->5、CDATA区、特殊字符 <![CDATA[不想解析的内容]]> 手动用记事本创建一个xml文档,打开记事本,输入内容,然后保存为xml,编码格式选择utf-8 <?xml version 阅读全文
posted @ 2022-02-10 11:26 Trinamic-一蓑烟雨 阅读(252) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示