摘要: using System.Text; using System.Runtime.InteropServices; namespace Win_F2P { class RW_IniFile { [DllImport("kernel32", CharSet = CharSet.Unicode, SetL 阅读全文
posted @ 2022-07-13 15:33 冲云霄 阅读(36) 评论(1) 推荐(0) 编辑
摘要: 举个例子: 字符串:str_Command=“01 06 10 00 00 00 8D 07” 转为8位字节数组: string[] strs = str_Command.Split(' '); byte[] bts = new byte[strs.Length]; for (int i = 0; 阅读全文
posted @ 2022-06-23 09:29 冲云霄 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 1.配置编译环境: “计算机”-》“属性”-》“高级系统设置”-》“环境变量”-》“***用户变量” -》“Path”-》“编辑”-》 填入“;C:\Windows\Microsoft.NET\Framework\v4.0.30319” 注意: (1) 可以修改“系统变量”的Path。 (2) 填入 阅读全文
posted @ 2022-06-06 14:32 冲云霄 阅读(122) 评论(0) 推荐(1) 编辑
摘要: 强烈建议去微软官网看文档,UI组件类未贴出,且这个乱↓↓↓ 一.监听端口 using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing; 阅读全文
posted @ 2022-05-07 09:41 冲云霄 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 1.环境: 开发语言:C#, 开发工具VS2017 using System.Web.Script.Serialization; //需要添加System.Web.Extensions.dll 2.JSON文件内容 (注意:最外层是数组[]) [ { "ID":0, "serials": [ {"x 阅读全文
posted @ 2022-04-18 12:26 冲云霄 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 序列化 (Serialization)是将对象的状态信息转换为可以存储或传输的形式的过程. 1.环境: 开发语言:C#, 开发工具VS2017 using System.Web.Script.Serialization; //需要添加System.Web.Extensions.dll 2.JSON文 阅读全文
posted @ 2022-04-18 11:11 冲云霄 阅读(468) 评论(0) 推荐(0) 编辑
摘要: 原始数据:N N:非负数时, >>1和/2的运算结果是一样的。 10>>1=5 ; 10/2=5 0>>1=0 ;0/2=0 N:负数且是偶数,>>1和/2的运算结果是一样的。-10>>1=-5; -10/2=-5 N:负数且是奇数,>>1和/2的运算结果是不同的。 -5>>1=-3; -5/2=( 阅读全文
posted @ 2022-03-18 10:22 冲云霄 阅读(2736) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-05-15 23:20 冲云霄 阅读(79) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示