Capacity Constructor
Capacity(long)
Initializes a new instance of the Capacity class.
Declaration
public Capacity(long value)
Parameters
long | value | The memory capacity expressed in bytes. |
Capacity(long, MemoryUnit)
Initializes a new instance of the Capacity class.
Declaration
public Capacity(long value, MemoryUnit unit)
Parameters
long | value | The memory capacity expressed in the specified |
MemoryUnit | unit | The memory capacity unit. |