Objective 4.5: Store data in and retrieve data from collections
When you are working with some groups of data, you often use a collection. Collection objects are useful when you want to work with data in a flexible way. You might need to add and remove elements from a collection, you might have special performance needs, or you might need to access items. This is why the .NET Framework offers you an extensive set of collections that you can use.
Using arrays
The most basic type that you can use to store a group of entities is an array. Arrays are useful when you are working with a fixed number of objects ...
Get Exam Ref 70-483: Programming in C# now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.