摘要: public static int week(DateTime start, DateTime end) { return Convert.ToInt32(Ceiling((end - start).TotalDays / 7)); } 阅读全文
posted @ 2020-04-23 13:52 确是缘 阅读(1076) 评论(0) 推荐(0) 编辑
摘要: namespace FileSystemWatcher { class Program { static void Main(string[] args) { FileSystemWatchDemo(filePath, "*.nupkg", false); Console.ReadLine(); } 阅读全文
posted @ 2021-01-27 18:31 确是缘 阅读(61) 评论(0) 推荐(0) 编辑
摘要: body{ -webkit-filter: grayscale(100%); /* Chrome, Safari, Opera */ filter: grayscale(100%); } 阅读全文
posted @ 2020-04-23 14:03 确是缘 阅读(449) 评论(0) 推荐(0) 编辑
摘要: 首先在项目中引入nuget包NPinyin.Core,然后新建静态转换类,即可在中畅用。 1 public static class PinYinCast 2 { 3 private static Encoding gb2312 = Encoding.GetEncoding("GB2312"); 4 阅读全文
posted @ 2020-04-23 13:59 确是缘 阅读(1340) 评论(0) 推荐(0) 编辑