Ejemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return((SegmentStart.GetHashCode() * 397) ^ SegmentEnd.GetHashCode());
     }
 }
Ejemplo n.º 2
0
 protected bool Equals(Range other)
 {
     return(SegmentStart.Equals(other.SegmentStart) && SegmentEnd.Equals(other.SegmentEnd));
 }
Ejemplo n.º 3
0
 public override string ToString()
 {
     return(SegmentStart.ToString());
 }