/// <summary> /// Insert the key and value. /// </summary> /// <exception cref="ArgumentNullException"></exception> /// <exception cref="ArgumentException"></exception> public void Add(TKey key, TValue val) { minHeap.Add(key, val); }
/// <summary> /// Insert the value. /// </summary> /// <exception cref="ArgumentNullException"></exception> /// <exception cref="ArgumentException"></exception> public void Add(T item) => minHeap.Add(item);