summaryrefslogtreecommitdiff
path: root/CSharp/Ivy
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp/Ivy')
-rw-r--r--CSharp/Ivy/IvyProbe/IvyProbe.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/CSharp/Ivy/IvyProbe/IvyProbe.cs b/CSharp/Ivy/IvyProbe/IvyProbe.cs
index 6748262..8440358 100644
--- a/CSharp/Ivy/IvyProbe/IvyProbe.cs
+++ b/CSharp/Ivy/IvyProbe/IvyProbe.cs
@@ -66,11 +66,8 @@ namespace IvyProbe
private void receive(IvyClient client, string[] args)
{
string receive_str = "client " + client.ApplicationName + " envoie: [";
- for (int i = 0; i < args.Length; i++)
- {
- receive_str += args[i]+ ",";
- }
- receive_str = receive_str.TrimEnd(new char[] { ',' });
+
+ receive_str += string.Join(",",args);
receive_str += "]";
append(receive_str);
}