public int SearchTree_ClearMethod(int[] array) { var tree = new SearchTree <int>(); for (int i = 0; i < array.Length; i++) { tree.Add(array[i]); } tree.Clear(); return(tree.Count); }