• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






帅灬恒

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

04 2019 档案

 
转载(TCPClient 建立连接和断开连接函数)
摘要:public bool networkbuild()//建立端口连接 { if (client == null) { try { client = new TcpClient(networkip, networkport); netstream = client.GetStream(); retur 阅读全文
posted @ 2019-04-25 13:30 Poison_heng 阅读(1847) 评论(0) 推荐(0)
C# 多线程传递参数或多个参数
摘要:using System;using System.IO;using System.Text;using System.Threading; namespace ConsoleApp7{ class Program { static void Main(string[] args) { for (i 阅读全文
posted @ 2019-04-19 09:39 Poison_heng 阅读(3031) 评论(0) 推荐(0)
16进制字符串 用空格隔开
摘要:string Str = Regex.Replace(HexStr, @"(?<=[0-9A-F]{2})[0-9A-F]{2}", " $0"); 阅读全文
posted @ 2019-04-17 15:53 Poison_heng 阅读(2610) 评论(0) 推荐(0)
Java & C# BCD编码与十进制转换
摘要:using System;using System.Collections.Generic;using System.Text; namespace Base{ public class BCDHelper { /// <summary> /// 用BCD码压缩数字字符串 /// </summary 阅读全文
posted @ 2019-04-16 16:11 Poison_heng 阅读(2077) 评论(0) 推荐(0)
C#串口数据收发数据
摘要:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;u 阅读全文
posted @ 2019-04-15 09:01 Poison_heng 阅读(23662) 评论(0) 推荐(0)