//using System;
using System.Collections.Generic;
public class Program
{
public static void Main()
Console.WriteLine("Hello World");
Node n=new Node();
n.Add(new Node());
}
class Node {
string value1;
List<Node> Children;
// Function to set the value of this node to empty + all its children
public void SetNull()
Queue<Node> queue;
queue.add(this);
while(queue.Count > 0)
Node current = queue.pop;
queue.add(current.children);
current.value = string.Empty;
this.value=null;
// https://dl.dropboxusercontent.com/u/985868/201602/tree.png
// https://dotnetfiddle.net/#&togetherjs=aDcvrLSEpy