public bool Detector(ITriangle concreteTriangle)
 {
     triangle = concreteTriangle;
     return(triangle.IsTriangle());
 }