Working with Arrays and Collections in C#
If your app has data, you’ll almost always need to store that data in a collection. This course will teach you the essential skills behind manipulating collections, enabling you to store, look up, and enumerate your data in C# apps.
What you'll learn
Real-world apps almost always require manipulating sets of data, and in C# apps, that data is normally held in collections. In this course, Working with Arrays and Collections in C#, you’ll learn how to use collections to access your data. First, you’ll discover how to look up and enumerate data in an array – the simplest of the collections. Next, you’ll learn how to add and remove data using a list, and how dictionaries can aid efficient look up by using a key. Then, you’ll delve into easily combining sets of data using the HashSet collection. Finally, you'll explore how to process data using stacks and queues, and make modifications more efficient with linked lists. By the end of the course, you’ll have a better understanding of the skills needed to work with your data in C# using collections.
Table of contents
In this course, you will learn how to look up items in arrays and lists, use iteration to process values, how to use linked lists, and about stacks and queues.
Prerequisites for this course are: an understanding of the basics of C#, creating classes and writing console apps, and how to use loops to control program flow.
An array is a data structure that consists of a collection of elements where each element is identified by at least one array index or key.
A linked list is a linear collection of data elements whose order is not given by their physical placement in memory. Instead, each element points to the next creating a collection of nodes that represent a sequence.
A queue is a collection of entities that are maintained in a sequence and can be modified by the addition of entities at one end of the sequence and the removal of entities from the other end of the sequence.
About the author
Network Interface Layer and Ethernet Operation for Cisco CCNA 200-125/100-105
- 3h 5m