ref: 更新到 C# 语言版本 13,回滚 ArgumentReplace

This commit is contained in:
龙腾猫跃 committed 2026-04-21 20:43:32 +08:00
1 parent 6db2c6cfa2
commit 6432370f86
8 files changed
+45 -66

No files matched your search

+3 -7
View File
@@ -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