Loading...
随着代码码的越多,越来越喜欢C# 的LINQ这个语法糖,用起来是真的爽,奈何记性不行,怕自己一段时间不用会忘记,这里记录一些常用的用法1 强制转换数组cast 和covertAll经常用DataGridView,其中从selectRow中提出绑定的对应的DataRow数组。...
使用下方复制函数的类,都需要在类前添加 [Serializable],让类支持序列化。1:利用反射实现public static T DeepCo...
啥是多路复用?
开发中用到需要将秒数(精度可能超过1s)转换成日、时、分、秒的格式,显示到界面上。找了一圈用TimeSpan的都是自己手动拼的字符串,不太漂亮。实际Tim...
汽车(乘用车)的UDS服务遵守ISO 15765-2。UDS的服务包含6大类,共26种。每种服务都有自己独立的ID,即SID。SIDSID:Service Identifier,诊断服务ID。UDS本质上是一种定向的通信,是一种交互协议(Request/Response),...