younotesunreadstarredadd url

c# - How to correctly convert filesize in bytes into mega or gigabytes? - Stack Overflow

https://stackoverflow.com/questions/565704/how-to-correctly-convert-filesize-in-bytes-into-mega-or-gigabytes/565710#565710

may 2020dev dos math retropcopen in karakeep

by Omar ‧ Stack Overflow ‧ saved copy from 2026.03.02

Karakeep has no AI summary for this page yet. summarize now

page description:

I’m using the DriveInfo class in my C# project to retrieve the available bytes on given drives. How to I correctly convert this number into Mega- or Gigabytes? Dividing by 1024 will not do the job I
screenshot of the page

« back to bookmarks