This source code contains a console application demonstrating the usage of various data structures and memory management in C#.
- Run the
Program.csfile to start the program. - Navigate through the menu by entering the number of your choice.
- Allows the user to add and remove elements from a list and observe the list's capacity and number of elements.
- Allows the user to add and remove elements from a queue and observe the queue's behavior after the operations.
- Allows the user to add and remove elements from a stack and observe the stack's behavior after the operations.
- Checks if the parentheses in a given string are correctly formatted and provides feedback on the result.
- The user can always exit the program by entering 0 in the main menu.