ToPrettyString Method
ToPrettyString()
Formats this capacity.
Declaration
public string ToPrettyString()
Returns
string | The formatted capacity. |
ToPrettyString(long)
Formats the capacity.
Declaration
public static string ToPrettyString(long capacity)
Parameters
long | capacity | The capacity. |
Returns
string | The formatted capacity. |
ToPrettyString(long, MemoryUnit)
Formats the capacity.
Declaration
public static string ToPrettyString(long capacity, MemoryUnit unit)
Parameters
long | capacity | The capacity. |
MemoryUnit | unit | The capacity unit. |
Returns
string | The formatted capacity. |