Click or drag to resize
BagItem Methods

The BagItem generic type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds the item to this bag.
Public methodGetEnumerator
Returns an enumerator that iterates over the items in this bag in arbitrary order.
Public methodStatic memberMainTest
Demo test for the Bag data type.
Public methodToString
Returns a string representation in the format "it1 it2 it3 ... itn" (LIFO order)
(Overrides ObjectToString.)
Top
See Also