会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
柯熊
博客园
首页
新随笔
联系
订阅
管理
1
2
下一页
2022年8月4日
Mqtt 服务端与客户端实例 C#
摘要: 话不多说 直接上代码 在Nuget 上添加 HslCommunication 组件 的引用 服务端 代码: using HslCommunication;using HslCommunication.MQTT;using System;using System.Globalization;using
阅读全文
posted @ 2022-08-04 17:17 黑鹰99
阅读(2143)
评论(0)
推荐(0)
2020年8月24日
C# 静态单例的几种使用创建方法
摘要: 静态单例的几种使用创建方法 代码: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace 静态单例{ publ
阅读全文
posted @ 2020-08-24 16:08 黑鹰99
阅读(402)
评论(0)
推荐(0)
C# 计时器使用演示
摘要: 1.计时器,应用场景,定时指定程序执行某个任务或者动作 演示代码: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading;using Syste
阅读全文
posted @ 2020-08-24 15:29 黑鹰99
阅读(405)
评论(0)
推荐(0)
C# RabbitMq使用演示
摘要: 1.创建一个队列消费者类QueueConsumer.cs using RabbitMQ.Client;using RabbitMQ.Client.Events;using System;using System.Collections.Concurrent;using System.Collecti
阅读全文
posted @ 2020-08-24 14:53 黑鹰99
阅读(289)
评论(0)
推荐(0)
C# XML序列化实例演示
摘要: 1. XML序列化实例演示 using System;using System.Collections.Generic;using System.Diagnostics;using System.IO;using System.Linq;using System.Text;using System.
阅读全文
posted @ 2020-08-24 13:51 黑鹰99
阅读(221)
评论(0)
推荐(0)
C# 线程安全队列使用演示
摘要: 在使用队列前,我们了解队列的特点是先进先出 1 . 新建一个线程操作类Process.cs using System;using System.Collections.Concurrent;using System.Collections.Generic;using System.Linq;usin
阅读全文
posted @ 2020-08-24 13:21 黑鹰99
阅读(3130)
评论(0)
推荐(0)
C# Protobuf序列化
摘要: 1 . 创建Protobuf序列化 工具类ProtobufExchang.cs, 需要添加应用protobuf-net.dll 组件 using ProtoBuf;using System;using System.Collections.Generic;using System.IO;using
阅读全文
posted @ 2020-08-24 10:16 黑鹰99
阅读(2890)
评论(0)
推荐(0)
2020年8月21日
C# list 和dataTable 互转
摘要: 1. 数据表DataTable 转 List<> using System;using System.Collections.Generic;using System.Data;using System.Linq;using System.Reflection;using System.Text;u
阅读全文
posted @ 2020-08-21 16:17 黑鹰99
阅读(934)
评论(0)
推荐(1)
C# 反射加载接口
摘要: 1 . 新建接口类 Imanager using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks; namespace Interface
阅读全文
posted @ 2020-08-21 15:54 黑鹰99
阅读(1112)
评论(0)
推荐(0)
C# http完整客户端(webform)实例演示
摘要: 1 . 新建http 客户端处理类HttpUitls.cs 该类指定放在webform 网站项目 App_Code文件夹下 using System; using System.Collections.Generic; using System.IO; using System.Linq; usin
阅读全文
posted @ 2020-08-21 15:32 黑鹰99
阅读(1338)
评论(0)
推荐(0)
1
2
下一页
公告