随笔分类 -  C#

摘要:19寸显示器:1440x900(16:10) 20寸显示器:1600x900(16:9)1600x1200(4:3) 21.5寸显示器:1920x1080(16:9) 22寸显示器:1680x1050(16:10)1920x1080(16:9)1920x1200(16:10) 23寸显示器:1920 阅读全文
posted @ 2017-06-22 10:36 MakeBetter 阅读(1795) 评论(0) 推荐(0)
摘要:转换: 1 second(s)=1000 millisecond(ms)=10 x 100 0000 one ten-millionth of a second (Ticks) DateTime.Now.Ticks / 10000 即为当前时间的总毫秒值 1 秒间隔的判断 if (DateTime. 阅读全文
posted @ 2017-06-20 11:52 MakeBetter 阅读(11716) 评论(0) 推荐(0)
摘要:1. string.IsNullOrEmpty (str) .Net 2 可用,也就是 Unity 能用 str = “” > true str = “ ” > false str = null > true 2. String.IsNullOrWhiteSpace(str) namespace为: 阅读全文
posted @ 2017-06-16 12:27 MakeBetter 阅读(1468) 评论(0) 推荐(0)