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!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.