Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
static void Main(string[] args) { Triangle triamgle = CreateTriangle(); triamgle.View(); Console.WriteLine("Perimeter of the triangle: {0}", triamgle.Perimeter()); Console.WriteLine("Area of the triangle: {0}", triamgle.Area()); Console.ReadKey(); }