private void Statistic() { var apriori = new Apriori(Tree); string path = Path.Combine(DirectoryPath, "statistic.txt"); File.WriteAllText(path, $"Liczba transakcji: {Tree.NumberTransactions} Liczba towarów: {apriori.NumberOfUniqProducts()}"); }