/// <summary> /// Creates a new <see cref="DataSize"/> from given megabytes value. /// </summary> public static DataSize Megabytes(this long value) => DataSize.FromMegabytes(value);
/// <summary> /// Creates a new <see cref="DataSize"/> from given megabytes value. /// </summary> public static DataSize Megabytes(this double value) => DataSize.FromMegabytes(value);
/// <summary> /// Creates a new <see cref="DataSize"/> from given megabytes value. /// </summary> public static DataSize Megabytes(this ushort value) => DataSize.FromMegabytes(value);