M
Matt
Is there a way to put my class vals to arrays !
RecordSet Track1 = new RecordSet("It aint fear",1);
RecordSet Track2 = new RecordSet("Gotta go",2);
RecordSet Track3 = new RecordSet("My life",3);
RecordSet Track4 = new RecordSet("Amazing",4);
Data d = new Data();
d.RecordAdd(Track1);
d.RecordAdd(Track2);
d.RecordAdd(Track3);
d.RecordAdd(Track4);
//Here i like put these on array so i can pass it as array is this do
able?
can i do boxing here to put Tracks on array ?
string [] strRecords = new String[5];
strRecords[0] = Track1;
string x = (string)strRecords[0];
d.GetRec2(strRecords);
RecordSet Track1 = new RecordSet("It aint fear",1);
RecordSet Track2 = new RecordSet("Gotta go",2);
RecordSet Track3 = new RecordSet("My life",3);
RecordSet Track4 = new RecordSet("Amazing",4);
Data d = new Data();
d.RecordAdd(Track1);
d.RecordAdd(Track2);
d.RecordAdd(Track3);
d.RecordAdd(Track4);
//Here i like put these on array so i can pass it as array is this do
able?
can i do boxing here to put Tracks on array ?
string [] strRecords = new String[5];
strRecords[0] = Track1;
string x = (string)strRecords[0];
d.GetRec2(strRecords);