Runtime_error
Active member
- Joined
- Aug 5, 2003
- Messages
- 38
eloooooooooooo, could neone please help me figure out how i can create an array of objects of a class whose constructer requires a parameter?
Like
myClass[] ObjArray = new myclass[10](Parameter);?? ?????
if the Class didnt need any parameters then it would be easy like
myClass[] ObjArray = new myClass[10];
but i am stuck.....
i want to reference my ObjArray like this
ObjArray[0].Field :-\
Like
myClass[] ObjArray = new myclass[10](Parameter);?? ?????
if the Class didnt need any parameters then it would be easy like
myClass[] ObjArray = new myClass[10];
but i am stuck.....
i want to reference my ObjArray like this
ObjArray[0].Field :-\