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.…
Author
Released
6/4/2014- 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
Duration
Views
Related Courses
-
C Essential Training
with Isac Artzi7h 22m Beginner
-
Introduction
-
Welcome1m 7s
-
Using challenges46s
-
-
1. Introducing C#
-
A brief history of C#3m 32s
-
Installing C#5m 9s
-
Introducing Visual Studio9m 29s
-
-
2. C# Language Elements
-
Understanding the C# data types10m 14s
-
Understanding program flow5m 11s
-
Working with for loops6m 30s
-
Building foreach loops1m 51s
-
Using a while loop3m 31s
-
Using variables7m 24s
-
Solution: Count to 101m 46s
-
Introducing functions2m 22s
-
-
3. Object-Oriented Programming in C#
-
Understanding C# class files7m 17s
-
Introducing encapsulation10m 10s
-
Using inheritance3m 15s
-
Exploring polymorphism5m 51s
-
Using namespaces5m 19s
-
-
4. Structured Exception Handling
-
Throwing exceptions6m 6s
-
Solution: Handle an error4m 48s
-
5. Resource Management in C#
-
Using destructors3m 17s
-
Introducing IDisposable4m 10s
-
6. Extensible Types in C#
-
Using generics6m 51s
-
Building collections5m 7s
-
-
7. Windows Apps in C#
-
Conclusion
-
Next steps45s
-
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Building collections