the function ToArray changes the direction under javascript (since 5.1) :
Code: Select all
Dictionary<string, object> test = new Dictionary<string, object>();
test.Add("sender", "sender");
test.Add("e", "e");
var array = test.Keys.ToArray();
Result under windows : sender, e
Result under java : e,sender
Regards,
Uwe