A data structure is a precise way of organizing data in a computer program. If data is not efficiently stored in the right data structure, it may lead to some performance issues that impact the overall experience of the application.
In this section, we will learn the advantages and disadvantages of the different collection types available in .NET Core and which ones are the better types for particular scenarios:
- Arrays and lists
- Stacks and queues
- LinkedLists (single, double, and circular)
- Dictionaries, hashtables, and hashsets
- Generic lists