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