MB

/// <summary>
/// Megabytes
/// </summary>
/// <param name="value"></param>
/// <returns></returns>
public static int MB(this int value)
{
	return value.KB() * 1024;
}
Example:
//You need the KB extension also.

var 1mb = 1.MB();

Description

Simplest way to get a number of megabytes.

Details

Double click on the code to select all.

 

;