Microsoft.Samples.Collections

Heap.Clone Method 

Create a copy of the heap containing the same object references

public virtual Heap Clone();

Return Value

A copy of the heap

See Also

Heap Class | Microsoft.Samples.Collections Namespace