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