winform
往事只能回味味道
这个作者很懒,什么都没留下…
展开
-
C# 十进制转十六进制
C#将int型十进制转换成十六进制的方法int a = 10a.ToString("x4");// x表示转换的格式是16进制,4表示填充位为4位,不够4位补0。/* 字符串转换成数字的方式 */string strAbc = "10";a = int.Parse(strAbc);原创 2020-12-03 14:25:28 · 3028 阅读 · 0 评论 -
C#使用UdpClient发送和接收UDP数据示例 16进制与字符串互转
服务器 using System; using System.Net; using System.Net.Sockets; using System.Text; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { Server(10086); //监听10086端口原创 2020-12-03 11:20:57 · 1619 阅读 · 1 评论 -
C#实现SSH、SCP、FTP等操作
https://blog.csdn.net/u013229188/article/details/79410746原创 2020-11-16 16:01:44 · 636 阅读 · 0 评论