摘要:
public static void TraceLog(string message, string logFileName) { string tmppath = AppDomain.CurrentDomain.BaseDirectory + "\\Log\\"; if (!Directory.Exists(tmppath)) ... 阅读全文
posted @ 2014-12-24 21:40
不负春光,努力生长
阅读(229)
评论(0)
推荐(0)
摘要:
private static DateTime BaseTime = new DateTime(1970, 1, 1); 将unixtime转换为.NET的DateTime public static DateTime FromUnixTime(long timeStamp) { return new DateTime((timeStamp)... 阅读全文
posted @ 2014-12-24 21:38
不负春光,努力生长
阅读(399)
评论(0)
推荐(0)
摘要:
public static bool StartBy(this string thisValue, params string[] startBy) { foreach (string item in startBy) { if (thisValue.StartsWith(item)) ... 阅读全文
posted @ 2014-12-24 21:36
不负春光,努力生长
阅读(227)
评论(0)
推荐(0)
浙公网安备 33010602011771号