A
Arjen
Hi,
public class test {
public ArrayList myList = new ArrayList();
}
test myTest = new test();
myTest.myList.Add(<someobject>);
This results in an error.
I also tried to add objects inside a new arraylist.
And then set the new arraylist to the object arraylist.
test.myList = newarraylist;
This also results in an error.
How to add objects to this arraylist?
Thanks!
public class test {
public ArrayList myList = new ArrayList();
}
test myTest = new test();
myTest.myList.Add(<someobject>);
This results in an error.
I also tried to add objects inside a new arraylist.
And then set the new arraylist to the object arraylist.
test.myList = newarraylist;
This also results in an error.
How to add objects to this arraylist?
Thanks!