DeepCopy(ImmutableStack<T>, CopyContext)
public ImmutableStack<T>? DeepCopy(ImmutableStack<T>? input, CopyContext context) Creates a deep copy of the provided input.
Parameters
inputImmutableStack<T>- The input.
contextCopyContext- The context.
Returns
A copy of
input, or null if input is null. 