I have a two lists of class object :
private List<IntVector> UserData = new List<IntVector>();
private List<IntVector> EditData = new List<IntVector>();
UserData
is the Master List and EditData
is another list which would be used to add, delete, or modify the list. One of the class memeber is CaseNo
which would not change for an IntVector.
I have made changes in the EditData
and would like to merge the changes to the UserData
.
Any idea how to do it ?
EDIT : Here is the definition of IntVector
class IntVector
{
//private DateTime date_kept;
private string date1;
private string next_date;
private string presence;
private string next_hearing_time;
//private Hashtable case_type;
private string court_name;
private string case_no;
private string status;
.
.
.
public string Date1
{
set { this.date1 = value; }
get { return this.date1; }
}
public string NextDate
{
get { return this.next_date; }
set { this.next_date = value; }
}
}