.Net/C#
Jiang_Mr
这个作者很懒,什么都没留下…
展开
-
【C#】A + B Problem II
namespace CalculatorAB2{ #region using direction using System; using System.Linq; #endregion class Program { static void Main(string[] args) { ...原创 2020-04-23 17:27:07 · 195 阅读 · 0 评论 -
【C#】Sum Problem
namespace CalculateSumN{ #region using direction using System; using System.Collections.Generic; #endregion class Program { static void Main(string[] args) ...原创 2020-04-23 14:53:15 · 167 阅读 · 0 评论 -
【C#】Calculate A + B.
namespace CalculateAB{ #region using directive using System; #endregion class Program { static void Main(string[] args) { var input = Console.In.Re...原创 2020-04-23 13:57:49 · 528 阅读 · 0 评论 -
正则解析 DBC
MessagePattern = "^BO_[ ]+(\\d+)[ ]+(\\w+):[ ]+(\\d+)[ ]+(\\w+)$";SignalPattern = "^SG_[ ]+(\\w+)[ ]+(((m)(\\d+[ ]+))|(M[ ]+))?:[ ]+(\\d+)\\|(\\d+)@([0|1])([+|-])[ ]+\\((-?\\d+(\\.\\d+)?),(-?\\d+(...原创 2019-12-06 10:00:34 · 705 阅读 · 0 评论 -
【类型映射】WinAPI与.Net的类型映射
API与C#数据结构类型对应关系表API与C#的数据类型对应关系表API数据类型类型描述C#类型API数据类型类型描述C#类型WORD16位无符号整数ushortCHAR字符charLONG32位无符号整数intDWORDLONG64位长整数longDWORD32位无符号整数uintHDC设备描述表句柄intHANDLE句柄,32位整数intHGDIOBJGDI对象句柄intUINT32位无符号整...转载 2018-03-14 14:39:25 · 442 阅读 · 0 评论 -
C# 整数类型范围
下表显示了浮点类型的精度和大致范围。类型 大致范围 精度 float ±1.5 x 10−45 至 ±3.4 x 1038 大约 6-9 位数字 double ±5.0 × 10−324 到 ±1.7 × 10308 大约 15-17 位数字 decimal ±1.0 x 10-28 至 ±7.9228 x 1028 28-29 位...原创 2019-01-30 14:30:03 · 3691 阅读 · 0 评论