Пример #1
0
 public override string ToString()
 {
     if (Bounds.IsInfinite)
     {
         return(Comparison.ToString());
     }
     else
     {
         return(string.Format("{0}/{1}", Comparison, Bounds));
     }
 }
Пример #2
0
 public override string ToString()
 => Bounds.IsInfinite ? Comparison.ToString() : string.Format("{0}/{1}", Comparison, Bounds);