private static double GetPercentage(ulong part, ulong total) { return total == 0 ? 0 : Math.Round(part * 100 / (double)total, 2); }