[chronojump] Util.cs StringArrayToListString()
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Util.cs StringArrayToListString()
- Date: Thu, 28 Apr 2022 15:39:03 +0000 (UTC)
commit 44b7afb45862911817e637722071e0cf98b4067c
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Apr 28 17:38:34 2022 +0200
Util.cs StringArrayToListString()
src/util.cs | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/src/util.cs b/src/util.cs
index 0f54cb05e..1657e3f60 100644
--- a/src/util.cs
+++ b/src/util.cs
@@ -2154,7 +2154,15 @@ public class Util
}
return uniqueString;
}
+
+ public static List<string> StringArrayToListString (string [] arrayString)
+ {
+ List<string> str_l = new List<string> ();
+ foreach (string myStr in arrayString)
+ str_l.Add (myStr);
+ return str_l;
+ }
//to create an string [] of one member
public static string [] StringToStringArray (string str) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]