static void Main() { string startFolder = @"D:\Games"; Folder rootFolder = new Folder(startFolder); TraverseFolder(rootFolder); Console.WriteLine(rootFolder.CalculateFilesSize()); }