static void Main(string[] args) { Triangle t = new Triangle(new Point(1, 2), new Point(1, 2), new Point(3, 4)); Console.WriteLine(t); Console.WriteLine(t.IsValid()); }