static void Main(string[] args) { BinaryTree tree = new BinaryTree(); tree.root = new Node(10); tree.root.left = new Node(20); tree.root.right = new Node(30); tree.root.left.right = new Node(40); tree.root.left.right.left = new Node(50); tree.root.left.right.right = new Node(60); tree.root.right.right = new Node(70); tree.root.right.right.left = new Node(99); Console.WriteLine("Max element is " + BinaryTree.findMax(tree.root)); }