luoyikun

导航

2018年12月7日 #

c#正则表达式,电话号码,密码字母与数字组合

摘要: 1.是否是电话号码 public static bool IsPhoneOK(string num) { if (num.Length < 11) { return false; } //电信手机号码正则 string dianxin = @"^1[3578][01379]\d{8}$"; Rege 阅读全文

posted @ 2018-12-07 13:39 luoyikun 阅读(46) 评论(0) 推荐(0)

unity3d:时间管理(1):服务器时间同步

摘要: using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class SyncTime : MonoBehaviour { public static Dat 阅读全文

posted @ 2018-12-07 09:52 luoyikun 阅读(75) 评论(0) 推荐(0)