Join Gerry O'Brien for an in-depth discussion in this video Building collections, part of Learning C# (2014).
The ability to store and manage groups of objects or groups of…items within C Sharp, can be handled to the use of collections.…C Sharp uses the base class library within the .Net framework, and within…the base class library, we find…non generic type collections and generic collections.…The collections that we have available to us in the .Net framework,…provide some specific functionality or even…just general functionality for us to use.…As an example, we have an array list, which is a collection…type that allows us to create and use a resizeable array of objects.…If we look at the standard array within C Sharp, it's a fixed size.…We declare it.…We typically assign values to it at the time we declare it.…Or, we give it a fixed size and then we can add values to it later.…But we can never go beyond the size of the initial configuration of that array.…The array list is a resizable value that lets us work with…resizing the array dynamically as we go through the process of adding it.…So in this example, the array list has nothing included in it.…
- Installing C#
- Working with loops
- Controlling program flow
- Using variables
- Building functions
- Creating and instantiating classes
- Catching errors
- Managing resources with the garbage collector
- Building collections
Skill Level Beginner
1. Introducing C#
2. C# Language Elements
3. Object-Oriented Programming in C#
4. Structured Exception Handling
5. Resource Management in C#
6. Extensible Types in C#
7. Windows Apps in C#
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.