Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (10 sloc) 244 Bytes
namespace UnitTests.Library
{
public interface IRegularPolygon
{
int NumberOfSides { get; }
int SideLength { get; set; }
double GetPerimeter() => NumberOfSides * SideLength;
double GetArea();
}
}
You can’t perform that action at this time.