size

  1. E

    Question How to format file sizes?

    Currently I have this code: public static class SizeUnit { public static string FileSizeToString(long size) { double FileSize = size; string[] format = new string[] { "{0} bytes", "{0:0.00} KB", "{0:0.00}...
Top Bottom