public static void Main() { var result = new AssignmentNode("x", new AddNode(new ValueNode("y", 10), new ValueNode("z", 20))); Console.WriteLine(result.GetStringValue()); }