I'm trying to figure out what sort of information these messages contain that are being streamed via OSC. The messages are being stored to an ArrayList. Here is the code:
public void OSCMessageReceived(OSC.NET.OSCMessage message){
string address = message.Address;
ArrayList args = message.Values;
}
How do I loop through the values of the arrayList args to output its contents?
foreach(Object o in args)Console.WriteLine(o);
– JarrellArrayList
is the old non-generic variant ofList<T>
and can be used much likeList<T>
, except that the items are typed asobject
. – Detrude