2020年2月22日

【VS2019 C#】C#中的GetTickCount()函数 及 延时函数

摘要: long TickOld = System.Environment.TickCount; 关于延时的方法,有2种,一是用 GetTickCount(), 另一种是 System.Threading.Thread.Sleep(1000); ... 阅读全文

posted @ 2020-02-22 15:53 lizhuohui 阅读(324) 评论(0) 推荐(0) 编辑

【VS2019 C#】各种数据类型转化

摘要: 1. byte[] 转 string byte[] buf = new byte[4];string ret = System.Text.ASCIIEncoding.Default.GetString(buf); 或者简单点: char TheCh = (ch... 阅读全文

posted @ 2020-02-22 05:41 lizhuohui 阅读(603) 评论(0) 推荐(0) 编辑

导航