I have a class
which contains an array
of a second class
just like this:
public class SimpayRecords
{
public int a;
public int b;
public int c;
public SimpayRecord[] records;
}
I have a third class
which contains the SimpayRecords
class. In this third class
i want to loop through the array
and remove unwanted items. Something like this:
for (int i = 0; i < this.Records.Records.Length; i++)
{
if (this.Records.Records[i].Date < this.LastTime)
//remove TempRecords.Records[i]
}
how can i do it?