O .NET oferece uma maneira fácil de converter bytes em KB, MB, GB, etc.?
Basta saber se o .NET fornece uma maneira limpa de fazer isso:
int64 x = 1000000;
string y = null;
if (x / 1024 == 0) {
y = x + " bytes";
}
else if (x / (1024 * 1024) == 0) {
y = string.Format("{0:n1} KB", x / 1024f);
}
etc ...