public override string ToString()
 {
     return("Triangle with sides " +
            Side1.ToString() + ", " +
            Side2.ToString() + ", " +
            Side3.ToString());
 }
Esempio n. 2
0
 public override string ToString()
 {
     return("Trapeze with sides " +
            Side1.ToString() + ", and " +
            Side2.ToString() + ", and " +
            Side3.ToString() + ", and " +
            Side4.ToString());
 }