Technical data
DotNet Control and Communications 4
Agilent VEE - Practical Graphical Programming 85
Exercise 4.4 - Using dotNET for Examining the Content of a Stack
The Stack example can be used to demonstrate one of the built- in data
structures in .NET Framework. A stack is a last in, first out collection
which is in contrast to a queue. A queue is a first in, first out collection.
This example shows how to add (push) objects to the stack and remove
(pop) them. Stacks may be coupled to other programs such as a Payroll
data base.
Clear your Work Area and maximize Main.
Displaying and modifying a stack via dotNET
1 Select Menu Bar => Help => Open Example => DotNET => Stack. See
Figure 4- 10.
Figure 4-10 DotNET example :"Stack"