Got more questions? Find advice on: SQL | XML | Regular Expressions | Windows
in Search
Welcome to AspAdvice Sign in | Join | Help

Browse by Tags

All Tags » C# » Teaching
  • Understanding the Queue Data Structure Using a Simple C# Implementation

    Introduction The Queue is a very important and common Data Structure in Computer Science. As the name queue suggests, this data structure can be described with an analogy of waiting in a line. There is no cutting allowed in the line, so the first person in the line is the first person out of the line. With the data structure it is the same way ...
    Posted to Orcs Goblins and .NET (Weblog) by Brendan on October 10, 2007
  • Simple C# Stack Implementation

    I've just written a quick little stack implementation for use in explaining the stack data structure. It is written in C# and is not exactly a robust solution, but it works well enough. It is stubbed out with the basics of what is required to have a working stack. If you don't know how a Stack works, I also recommend reading my Simple Explanation ...
    Posted to Orcs Goblins and .NET (Weblog) by Brendan on October 9, 2007
  • Understanding the Stack Data Structure

    I found myself recently explaining a few times how the data structure commonly called a stack works. The technical term for a stack would be a Last in First out Data Structure (LIFO). To practically repeat myself, this means that the last object to go into the structure is the first one which will come out of the structure. I've heard plenty of ...
    Posted to Orcs Goblins and .NET (Weblog) by Brendan on October 5, 2007