Exercise 3: Computing Area Using Interface
Explore how to implement the IShape interface in C# by defining and using the ComputeArea method in Rectangle and Triangle classes. This lesson helps you understand interface implementation and area computation in an object-oriented context.
We'll cover the following...
We'll cover the following...
Problem Statement
In this exercise, you have to implement the interface IShape.
IShape should have: ...