static void Main(string[] args) { Triangle ob = new Triangle(8.0, 12.0, "right"); ob.Calculate(); Console.ReadLine(); }