摘要: program IHost host = Host.CreateDefaultBuilder(args) .UseWindowsService(options => { //服务进行命名,会显示在Windows服务中的服务名称上 options.ServiceName = "H"; }).Confi 阅读全文
posted @ 2023-03-21 01:41 Echo_xxx 阅读(66) 评论(0) 推荐(0) 编辑
摘要: //分组 8个为一组 List<List<string>> ArrayList = sArray.Select((x, i) => new { Index = i, Value = x }) .GroupBy(x => x.Index / 8) .Select(x => x.Select(v => 阅读全文
posted @ 2023-03-21 01:05 Echo_xxx 阅读(343) 评论(0) 推荐(0) 编辑