summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CSharp/Ivy/IvyProbe/IvyProbe.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/CSharp/Ivy/IvyProbe/IvyProbe.cs b/CSharp/Ivy/IvyProbe/IvyProbe.cs
index 86c6c9b..31c024a 100644
--- a/CSharp/Ivy/IvyProbe/IvyProbe.cs
+++ b/CSharp/Ivy/IvyProbe/IvyProbe.cs
@@ -45,11 +45,7 @@ namespace IvyProbe
private void receive(object sender, IvyMessageEventArgs e)
{
string receive_str = "client " + e.Client.ApplicationName + " envoie: [";
- // Copy the collection to a new array starting at index 0.
- String[] args = new String[e.Arguments.Count];
- e.Arguments.CopyTo(args, 0);
-
- receive_str += string.Join(",", args);
+ receive_str += string.Join(",", e.Arguments);
receive_str += "]";
receive_str += " for '" + ((IvyApplicationBinding)sender).FormatedExpression + "'";
append(receive_str);