Click or drag to resize

BytesExtensionsFormatBytes Method

IT Hit User File System
Formats bytes to string.

Namespace:  ITHit.FileSystem.Extensions
Assembly:  ITHit.FileSystem (in ITHit.FileSystem.dll) Version: 9.0.29527.0
Syntax
public static string FormatBytes(
	this long length
)

Parameters

length
Type: SystemInt64
Bytes to format.

Return Value

Type: String
Human readable bytes string.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Int64. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also