I have to sort array list which contains struct object.I am giving code here.can i use IComparable interface for struct to sort the list.
Tell me this is right which i have done.My code is working fine.
public string m_ProjectName;
public int m_ScheduleCnt;
public ArrayList m_ResourceInfoList;
public ArrayList m_ScheduleList;
public float m_MakeSpan;
public int CompareTo(object obj)
t_ScheduleReportStruct = (ScheduleReportStruct)obj;
ScheduleReportStruct t_ScheduleReportStruct=new ScheduleReportStruct();