Gets a value indicating whether the Length is valid.
Declaration
public bool IsValid { get; }
Property Value
Type |
Description |
bool |
A bool value. true if the Length is valid;
otherwise, false .
|
var length = new Length("10in");
bool isValid = length.IsValid; // true