From 41bff10f33d3ea184ed1a39d852b283737f5e9cd Mon Sep 17 00:00:00 2001
From: lhiven <236881222@qq.com>
Date: Mon, 13 Nov 2023 15:22:15 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AF=B9=E6=95=B0=E7=BB=84?=
=?UTF-8?q?=E7=9A=84=E6=93=8D=E4=BD=9C=E7=9A=84=E6=89=A9=E5=B1=95=E7=B1=BB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Rs.Framework/ArrayExt.cs | 23 +++++++++++++++++++++++
Rs.Framework/Rs.Framework.csproj | 1 +
2 files changed, 24 insertions(+)
create mode 100644 Rs.Framework/ArrayExt.cs
diff --git a/Rs.Framework/ArrayExt.cs b/Rs.Framework/ArrayExt.cs
new file mode 100644
index 0000000..15545f9
--- /dev/null
+++ b/Rs.Framework/ArrayExt.cs
@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Rs.Framework
+{
+ public static class ArrayExt
+ {
+ ///
+ /// 把数组转化为字符串,以指定的字符串分割
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static string ToJoinString(this IEnumerable arr, string separator = ",")
+ {
+ return string.Join(separator, arr);
+ }
+ }
+}
diff --git a/Rs.Framework/Rs.Framework.csproj b/Rs.Framework/Rs.Framework.csproj
index 9ba06b8..b661a62 100644
--- a/Rs.Framework/Rs.Framework.csproj
+++ b/Rs.Framework/Rs.Framework.csproj
@@ -55,6 +55,7 @@
+