public override string ToString() { var document = new StringBuilder(); document.Append($"<{XName}>"); if (childrens.Count > 0) { foreach (var item in childrens) { document.Append(item.ToString()); } } else { if (XValue != null) { document.Append(XValue.ToString()); } } document.Append(@"<\" + XName + ">"); return(document.ToString()); }
public override string ToString() { return(XValue.ToString("0.00000") + ";" + Height); }
public override string ToString() { return("const " + v.ToString()); }
public override string ToString() => $"X: {XValue.ToString()}, Y: {YValue.ToString()}, Z: {ZValue.ToString()}";