GeneralUpdate
GeneralUpdate copied to clipboard
My ship looks old, who can help me upgrade it.
一、文件内容 1、伪升级文件 1.1.1.1 source文件夹件为空 target文件夹 新建2个txt文档分别为:111.txt、222.txt txt为空文件,不添加任何内容 patch文件夹不做任何操作 2、伪升级文件 1.1.1.2 source文件夹件 复制target中除了zip以外的2个txt文件 target文件夹 修改111.txt 内容为 111 修改222.txt 内容为 222 新建333.txt 内容为 333 zip文件不修改 patch文件夹不做任何操作 二、代码及生成配置 1、tool配置  2、services代码  3、upgrade代码...
1. 将 `""` 替换为`string.Empty` 2. 将`TrimStart`和`TrimEnd`组合调用改为调用`Trim` 3. 将 Linq 的`FirstOrDefault`方法替换为`List`上的`Find`方法以提高查找性能