public BinarySearchTree() { if (typeof(T) == typeof(object)) { _isRefType = true; } _comparer = new GenericCompare1 <T>(); Height = 0; Version = 1; }
public BinarySearchTree(IComparer <T> comparer) : this() { _comparer = new GenericCompare1 <T>(comparer); }