public void Test() { var result = DirectoryEx.CalcSize(@"C:\Amat"); Console.WriteLine(BytesConverter.GBytes(result)); }