Click or drag to resize

Area(Length, Length) Constructor

Creates a new Area whose value is the multiple of two Length values.

Namespace: InnerDrive.Quantitative
Assembly: InnerDrive.Quantitative (in InnerDrive.Quantitative.dll) Version: 5.0.8475.0
Syntax
C#
public Area(
	Length x,
	Length y
)

Parameters

x  Length
The first Length dimension of the Area.
y  Length
The first Length dimension of the Area.
Remarks
The new Area will be instantiated using MeterSquare units.
Example
The following example creates a Area of 100 km²:
C#
Unit unit = new Meter();
MetricExponent exponent = MetricExponent.Kilo;
double value = 100d;

Length length1 = new Length(value, unit, exponent);
Length length2 = new Length(value, unit, exponent)

Area kilometers = new Area(length1, length2);
See Also