public void Add(BluRayDisc DiscData)
        {
            Node node = new Node(DiscData);

            node.next = DiscNode;
            DiscNode  = node;

            numDiscs++;
            totalcost += DiscData.cost;
        }
Beispiel #2
0
 public Node(BluRayDisc Disc)
 {
     this.Disc = Disc;
     next      = null;
 }