示例#1
0
 public override string ToString()
 {
     return(XPosition.ToString() + ";" + YPosition.ToString() + ";");
 }
示例#2
0
 public string Print()
 {
     return("Name: " + Name + " X: " + XPosition.ToString() + " Y: " + YPosition.ToString() + " Z: " + ZPosition.ToString());
 }