About Stacks...

annir

Active member
Joined
Sep 1, 2008
Messages
32
Programming Experience
Beginner
Hi Guys,

Can I ask with you if someone knows how to test the stacks if it is already empty?

I tried Stacks.IsEmpty but unfortunately I have an error says: IsEmpty is not declared..

Is there any way to test if the stack is empty? When I'm typing (after dot) there is no IsEmpty properties of the stack.

Thanks.

annir
 
Like all collection types Stack class has a Count property, you should see it when after you type dot.
 
Back
Top