コード例 #1
0
 /// <summary>
 /// Converts the Line structure to a human-readable string.
 /// </summary>
 /// <returns>A string representation of this Line.</returns>
 public override string ToString()
 {
     return(OverrideHelper.ToString(
                "Start", Start.ToString(),
                "End", End.ToString()));
 }
コード例 #2
0
 /// <summary>
 /// Converts the Circle structure to a human-readable string.
 /// </summary>
 /// <returns>A string representation of this Circle.</returns>
 public override string ToString()
 {
     return(OverrideHelper.ToString(
                "Location", Location.ToString(),
                "Radius", Radius.ToString()));
 }