Exemplo n.º 1
0
 public static void OutputResult(SortedSetOfTriangles triangleSortedSet)
 {
     Console.WriteLine("============= Triangles list: ===============");
     foreach (string infoAboutTriangle in triangleSortedSet)
     {
         Console.WriteLine(infoAboutTriangle);
     }
 }
Exemplo n.º 2
0
 public Controler()
 {
     triangleSortedSet = new SortedSetOfTriangles();
     newTriangle       = new Triangle("", 0, 0, 0);
     validate          = new Validator();
 }