ref: 更新到 C# 语言版本 13,回滚 ArgumentReplace
This commit is contained in:
1 parent
6db2c6cfa2
commit
6432370f86
8 files changed
+45
-66
No files matched your search
@@ -1,12 +1,4 @@
|
||||
using MeloongCore.Extensions;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace MeloongCore;
|
||||
namespace MeloongCore;
|
||||
public static class DirectoryUtils {
|
||||
|
||||
/// <summary>
|
||||
|
||||
+3
-7
@@ -1,10 +1,6 @@
|
||||
using MeloongCore.Extensions;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Numerics;
|
||||
namespace MeloongCore;
|
||||
using System.Numerics;
|
||||
|
||||
namespace MeloongCore;
|
||||
public static class MathUtils {
|
||||
|
||||
#region 进制转换
|
||||
@@ -62,7 +58,7 @@ public static class MathUtils {
|
||||
// 负数的结束处理与返回
|
||||
if (isNegative) results.Add('-');
|
||||
results.Reverse();
|
||||
return new string(results.ToArray());
|
||||
return new([..results]);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
+1
-6
@@ -1,9 +1,4 @@
|
||||
using MeloongCore.Extensions;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
namespace MeloongCore;
|
||||
|
||||
namespace MeloongCore;
|
||||
public static class PathUtils {
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in new issue
Block a user