예제 #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);
 }