摘要:@echo off chcp 65001 >nul setlocal enabledelayedexpansion set "target_folder=D:\测试文件夹" set "success=0" echo 正在尝试删除文件夹: "%target_folder%" rem 检查文件夹是否存在
        阅读全文
        随笔分类 - 007 常用帮助类
摘要:using Newtonsoft.Json; using Newtonsoft.Json.Linq; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Ru
        阅读全文
        
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namesp
        阅读全文
        
摘要:base64 to pdf 1 using System; 2 using System.Collections.Generic; 3 using System.IO; 4 using System.Linq; 5 using System.Text; 6 using System.Threadin
        阅读全文
        
摘要:StringHelper--字符串左右添加指定字符 1 using System; 2 using System.Collections.Generic; 3 using System.Configuration; 4 using System.Linq; 5 using System.Text; 
        阅读全文
        
摘要:生成实体类 declare @TableName sysname = 'DictReCheckItem' declare @TableNameL sysname = 'DictReCheckItem' declare @IsCreateControllerMethods sysname =0 dec
        阅读全文
        
摘要:使用Nuget安装 NPOI NPOI.Excel using NPOI.HSSF.UserModel; using NPOI.SS.UserModel; using NPOI.XSSF.UserModel; using System; using System.Collections.Generi
        阅读全文
        
摘要:参考:https://www.656463.com/wenda/ybcfssysjgshCdm_568 用于对代码生成工具生成的代码——进行格式化操作(VS:Ctrl + k +D) 使用方式|操作步骤: 第一步:准备需要格式化的代码 第二步:使用Nuget安装Microsoft.CodeAnaly
        阅读全文
        
摘要:简单理解C#委托事件,示例如下所示: using System; /// <summary> /// 委托步骤 /// 第一步:声明委托 /// 第二步:委托使用方法的实现 /// 第三步:委托的解释(将方法以变量的形式传递,且以方法的形式执行)--方法与委托建立联系 /// 注: /// 委托链的
        阅读全文
        
摘要:注:以下代码仅供参考使用,实际使用过程,应根据实际场景--进行提取重构,提升复用效率...... 简单理解,反射应用于加载动态库DLL,解析其内部实现....... 示例如下所示:注,该代码基于.NET 5 运行效果如下所示: using System; using System.Reflectio
        阅读全文
        
摘要://注:对于读取/写入文件操作时,需判断当前文件是否存在 using System.IO; using System.Text; namespace Callno.Common { public class FileHelper { //定义一个用于保存静态变量的实例 private static 
        阅读全文
        
摘要:using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; namespace E
        阅读全文
        
摘要:using System; using System.IO; using System.Text; namespace ZB.QueueSys.Common { public class LogHelper { //private static LogHelper instance; //publi
        阅读全文
        
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace ZB.QueueSys.Common { public class DateTimeHelper { //定
        阅读全文
        
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Linq; using System.Reflection; using S
        阅读全文
        
摘要:using System.Drawing; using System.Runtime.InteropServices; using System.Windows.Forms; namespace ZB.QueueSys.Common { public class MouseHelper { //定义
        阅读全文
        
摘要:using System; using System.Drawing; using System.Drawing.Imaging; using System.IO; using System.Net; using System.Text; namespace ZB.QueueSys.Common {
        阅读全文
        
摘要:using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.Cryptography; using System.Text; namespace Z
        阅读全文
        
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; using System.Threading.Tas
        阅读全文
        
摘要:using System; using System.Collections.Generic; using System.Data; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks
        阅读全文
        
 
                     
                    
                 
                    
                 

 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号