Determines whether an element is in the Heap.
true if obj is found in the Heap; otherwise, false.
This method performs with average execution time that is linear. That is, this method is an O(n) operation, where n is Count. This method determines equality by calling Object.Equals.
Heap Class | Microsoft.Samples.Collections Namespace