static void Main(string[] args) { Triangle T = new Triangle(); T.X = 5; T.Y = 5; T.Z = 6; T.ShowInfo(); T.TestTriangle(); }
static void Main(string[] args) { Triangle t1 = new Triangle(); t1.Triangle(10, 10, 10); t1.checkTriangle(); t1.ShowInfo(); }