摘要: 编码是指将字符串以什么形式编码储存成二进制 > 二进制 :编码 > utf等 :解码 gb2312 简体,gbk简体+繁体 unicode由utf-7,utf-8,utf-32组成 语法: “Encoding.编码方式.getstring/getchars/getbytes”,如果没有现成的则指定, 阅读全文
posted @ 2021-03-10 21:38 遥月 阅读(358) 评论(0) 推荐(0)
摘要: 一、Path路径类的常用操作 string a = "Z:\\音乐\\1.mp3"; uiButton1.Text = Path.GetDirectoryName(a); // z:\音乐 uiButton1.Text = Path.GetFileNameWithoutExtension(a); / 阅读全文
posted @ 2021-03-10 21:20 遥月 阅读(282) 评论(0) 推荐(0)