A simple library that constructs an ellipse object and be able to use its properties.
$ dotnet add package EllipseGeometry_514148This package provides a set of methods and properties to work with ellipses. It allows you to compute the area and perimeter of an ellipse, along with a few other useful functions.
You can include this package in your C# project by adding it via NuGet (assuming it's published on NuGet).
dotnet add package EllipseGeometry_514148
using EllipseGeometry_514148;
You can use the Ellipse class to create an ellipse object and compute its area and perimeter.
Ellipse ellipse = new Ellipse(5, 3);
Console.WriteLine(ellipse.Area); // 47.1238898038469
Console.WriteLine(ellipse.Perimeter); // 22.453589793319