public bool Equals(Calendar other) { if (other == null) { return(false); } return(Calendar_id.Equals(other.Calendar_id) && Counter.Equals(other.Counter)); }
public int CompareTo(Calendar other) { if (other == null) { return(1); } else { int result = Calendar_id.CompareTo(other.Calendar_id); if (result == 0) { result = Counter.CompareTo(other.Counter); } return(result); } }
public override int GetHashCode() { return(Calendar_id.GetHashCode() + Counter); }