Пример #1
0
 public Prism()
 {
     baseSide = 0;
     height = 0;
     numberOfEdges = 0;
     ID = BaseSide.GetHashCode() + Height.GetHashCode() + NumberOfEdges.GetHashCode();
     numberOfInstances++;
 }
Пример #2
0
 public Prism()
 {
     baseSide      = 0;
     height        = 0;
     numberOfEdges = 0;
     ID            = BaseSide.GetHashCode() + Height.GetHashCode() + NumberOfEdges.GetHashCode();
     totalCount++;
 }