05 2015 档案

摘要:class Program { static void Main(string[] args) { long val = 123456789; Console.WriteLine(Parse64Encode(val)); ... 阅读全文
posted @ 2015-05-13 18:56 晓风拂月 阅读(6621) 评论(1) 推荐(0)
摘要:public static class IdCardHelper { static readonly int[] Weight = new int[] { 7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2 }; ... 阅读全文
posted @ 2015-05-13 18:53 晓风拂月 阅读(415) 评论(0) 推荐(0)
摘要:const string dataPath = @"D:\Users\jin_h\Documents\Visual Studio 2013\Projects\ConsoleApplication1\ConsoleApplication1\";private static DataTable GetC... 阅读全文
posted @ 2015-05-13 18:49 晓风拂月 阅读(563) 评论(0) 推荐(0)
摘要:private static List GetThemeIds(string themeList) { const string split = "!===!"; return Regex.Split(themeList, split, Re... 阅读全文
posted @ 2015-05-12 15:10 晓风拂月 阅读(746) 评论(0) 推荐(0)
摘要:public static class LocalCacheHelper { private const int TimeOut = 5; //5分钟过期 public static T GetCache(string cacheKey) { ... 阅读全文
posted @ 2015-05-11 13:49 晓风拂月