C# Hands-on Practice with Data-Structures
1h 35mIntermediate2025-01-14
Authors

Kathryn Hodge
Software Developer
Course details
This course is designed for software developers and computer science students who want to deepen their understanding of data structures in C#. With hands-on practical exercises, instructor Kathryn Hodge shows you what it takes to master the implementation and usage of essential data structures like arrays, linked lists, stacks, queues, and dictionaries in C#, as well as make effective use of C# libraries and frameworks that offer prebuilt data structures. By applying these structures effectively, you'll be prepared to solve real-world problems, optimize your code base, and improve the overall functionality of your applications. By the end of this course, you’ll be equipped with skills you need to design and implement custom data structures for specific project requirements, understanding the balance between creating custom solutions and using standard, built-in features.
Learning objectives
Implement and use common data structures like arrays, linked lists, stacks, queues, and dictionaries in C#.
Solve real-world problems by applying appropriate data structures to optimize code and improve functionality.
Write clean, efficient code using best practices for data structure implementation in C#.
Design custom data structures tailored to specific needs or applications.
Leverage C# libraries and frameworks that include prebuilt data structures in their applications, understanding when to use standard library features versus custom implementations.
Learning objectives
Implement and use common data structures like arrays, linked lists, stacks, queues, and dictionaries in C#.
Solve real-world problems by applying appropriate data structures to optimize code and improve functionality.
Write clean, efficient code using best practices for data structure implementation in C#.
Design custom data structures tailored to specific needs or applications.
Leverage C# libraries and frameworks that include prebuilt data structures in their applications, understanding when to use standard library features versus custom implementations.
Skills covered
C#Data EngineeringProgramming LanguagesData ScienceMicrosoftSoftware DevelopmentOne-Off
Concepts
Introduction
- Why use data structures
- What you should know
- How to use CoderPad
- How to use GitHub Codespaces
Build a To-Do List Application with an Array
- How to use arrays in C#
- Solution - Move zeroes to the end
- Requirements for the to-do list project
- Implement the task array
- Scale an array for increasing task count
Enhance the To-Do List Application with a List
- How to use lists in C#
- Solution - Find the majority element
- Refactor the to-do list - Replace the array with a list
- GitHub Codespaces Solution - Shopping cart
Build an Inventory Management System with a Dictionary
- How to use dictionaries in C#
- CoderPad Solution - Group anagrams
- Requirements for the inventory management system
- Implement a dictionary for inventory storage
- Integrate inventory with shopping cart functionality
Manage Customer Service Requests with a Queue
- How to use a queue in C#
- CoderPad Solution - Generate binary numbers
- Requirements for the customer service ticketing system
- Implement a queue for processing customer requests
- Monitor incoming and pending requests
- GitHub Codespaces Solution - Train station platform management
Develop Undo Redo Feature in a Text Editor with Stacks
- How to use a stack in C#
- CoderPad Solution - Expression evaluator
- Requirements for the undo redo feature
- Implement undo functionality with a stack
- Implement redo functionality with a stack
- Optimize performance for large-scale changes
Create a Rate Limiter for API Requests Using a Custom Data Structure
- Requirements for the API rate limiter
- Enforce rate limits using dictionaries and queues
- GitHub Codespace Solution - Flight reservation system
Conclusion
- Choosing the right data structure
Related courses
- Practice It C++: Common Data Structures
- Functional Programming with F# and C#
- Strategic Vision and Decision-Making for Senior Executives and C-Suite Leaders
- Oracle Database 12c: Security
- Human-Centered Leadership in the Age of AI
- C# Practice: Attributes
- C# Practice: Generic Collections
- C# Practice: Interfaces and Abstract Classes