예제 #1
0
 public ListCardCollection()
 {
     this.creator = new ListCardCreator();
     this.name    = "Linked list!";
     this.Items   = new List <ICard>();
     Console.WriteLine("List card collection builded!");
 }
예제 #2
0
 public ArrayCardCollection()
 {
     this.creator = new ArrayCardCreator();
     this.name    = "Array!";
     this.Items   = new List <ICard>();
     Console.WriteLine("Array card collection builded!");
 }