public int CompareTo(ProjectData other) { if (object.ReferenceEquals(other, null)) { return(1); } if ((Pr_name.CompareTo(other.Pr_name)) == 0) { return(Pr_description.CompareTo(other.Pr_description)); } return(Pr_name.CompareTo(other.Pr_name)); }
public override int GetHashCode() { return(Pr_name.GetHashCode()); // return Firstname.GetHashCode(); }