public override string ToString() { StringBuilder resultString = new StringBuilder(); resultString.Append("LeftLeg: \n"); resultString.Append(leftLeg.ToString()); resultString.Append("\n"); resultString.Append("RightLeg: \n"); resultString.Append(rightLeg.ToString()); resultString.Append("\n"); resultString.Append("LeftFoot: \n"); resultString.Append(leftFoot.ToString()); resultString.Append("\n"); resultString.Append("RightFoot: \n"); resultString.Append(rightFoot.ToString()); return(resultString.ToString()); }