/// <summary> /// Returns an array representation of the stack /// </summary> /// <returns>The returned array</returns> public T[] ToArray() => _theStackList.ToArray();
/// <summary> /// Returns the Queue as an array of its generic type /// </summary> /// <returns></returns> public T[] ToArray() => _theQueueList.ToArray();