![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C#
yimomodandandeka
这个作者很懒,什么都没留下…
展开
-
TCP读取SICK511传感器数据:运行 debug文件下的exe,tcp读取卡顿
最近写了一个TCP读取SICK511传感器数据的程序,vs环境下直接运行代码没有问题,但是运行debug文件下的exe,tcp读取卡顿。仔细检查程序,发现程序逻辑没有问题,折腾了很长时间;附上未修改前的代码:主程序:using System;using System.Collections.Generic;using System.Linq;using System.Text;us...原创 2020-04-21 11:53:27 · 572 阅读 · 2 评论 -
学习随笔(1):c# 委托,delegate
c# 委托delegate 类似于c++中的函数指针,就是给用A表达B,委托函数的 输入参数个数0-32个,返回参数可有可无。例如public delegate int MyDelegate(int x, int y);表示有两个参数,并返回int型。public delegate void MyDelegate(int x, int y);表示有两个参数,无回参。publi...原创 2019-12-01 17:00:07 · 105 阅读 · 0 评论