Constructor Percentage
Percentage(float)
Initializes a new instance of the Percentage struct.
Declaration
public Percentage(float value)
Parameters
Type | Name | Description |
---|---|---|
float | value | The percentage value (0 to 100). |
Exceptions
Type | Condition |
---|---|
ArgumentOutOfRangeException | Thrown if the value is out of range. |