Пример #1
0
 public void Visit(Leaf leaf)
 {
     Console.WriteLine($"Adding Leaf {leaf.Value}...");
     Sum += leaf.Value;
 }