Foley .NET Utilities Class Library

HashSet.Clone Method ()

Creates a shallow copy of the HashSet.

[Visual Basic]
Overridable Overloads Public Function Clone() As Object Implements _
   ICloneable.Clone
[C#]
public virtual object Clone();

Return Value

A shallow copy of the HashSet.

Implements

ICloneable.Clone

Remarks

If you need a deep copy to be attempted use the Clone method.

See Also

HashSet Class | HashSet Members | Foley.Utilities.Collections Namespace | HashSet.Clone Overload List