Class Unit
An uninteresting type with only one value (Value) and no fields.
Like void
, but valid as a type parameter.
Inheritance
- object
- Unit
Inherited Members
- object.GetType()
- object.ToString()
- object.Equals(object)
- object.Equals(object, object)
- object.ReferenceEquals(object, object)
- object.GetHashCode()
Declaration
public sealed class Unit
Properties
Value
The single unique Unit value.
Declaration
public static Unit Value { get; }
Property Value
Type | Description |
---|---|