コード例 #1
0
 public MyStack(int capacity)
 {
     mylist = new LinearArrayList(capacity);
 }
コード例 #2
0
ファイル: MyQueue.cs プロジェクト: Craig-97/C-Sharp
 /// <summary>
 /// Sets the size of the array
 /// using capacity as the value
 /// to be entered by user
 /// </summary>
 /// <param name="capacity"></param>
 public MyQueue(int capacity)
 {
     mylist = new LinearArrayList(capacity);
 }