but in your Programmers Heaven C# School book online I noticed an error and I have to let you all know:
On page 32 where you're talking about C# types, you have a sentence in the middle of the paragraph that says:
"A stack is a data structure that store items in a first in first out (FIFO) fashion."
Think about it: a stack of dishes at the cafeteria..the first dish goes onto the stack, then the second dish...to the last dish. When they come off the stack, the LAST ONE comes off first (LIFO)...
A queue is FIFO.
Glad to help,
Bill Farrell
On page 32 where you're talking about C# types, you have a sentence in the middle of the paragraph that says:
"A stack is a data structure that store items in a first in first out (FIFO) fashion."
Think about it: a stack of dishes at the cafeteria..the first dish goes onto the stack, then the second dish...to the last dish. When they come off the stack, the LAST ONE comes off first (LIFO)...
A queue is FIFO.
Glad to help,
Bill Farrell