Class Unit
The unit type - a type with exactly one value. Use this when specifying operations that either take no request (no parameters) or return no response (void). This is the standard name in functional programming (F#, Scala, Rust, Haskell).
public class Unit
- Inheritance
-
Unit
- Inherited Members
Fields
Value
The single value of the Unit type.
public static readonly Unit Value
Field Value
Methods
ToString()
public override string ToString()