Didn't know where to post this as I'm new... - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Didn't know where to post this as I'm new...

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
Sign In or Register to comment.