From the course: Visual Basic Essential Training
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Explore the collection classes - Visual Basic Tutorial
From the course: Visual Basic Essential Training
Explore the collection classes
- [Instructor] Working with groups and sets of data is a fundamental part of programming, and .NET provides several tools to make this task more efficient and versatile. In this chapter, we'll explore the various options available on .NET for managing data sets. Visual Basic offers three distinct categories of types for working with sets. They are listed in the preferred order of usage. Generic collections are highly recommended for most scenarios, offering type safety, performance, and flexibility. They are the modern standard for working with groups of data in .NET. Arrays are simple and efficient. They are ideal for fixed size structures where minimal overhead is required. Then last, we have the non-generic collections. These were introduced in the early releases of .NET. They should generally be avoided due to their lack of type safety and inefficiency compared to more modern options. Arrays are a fundamental concept taught at every computer science and programming course. They…
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Explore the collection classes10m 18s
-
(Locked)
Use a ListBox instead of a text control3m 10s
-
(Locked)
Create new collections6m 30s
-
(Locked)
Initialize a collection2m 23s
-
(Locked)
Add items to a list1m 13s
-
(Locked)
Get items from the list3m 16s
-
(Locked)
Remove items from a list1m 15s
-
(Locked)
Iterate over a list5m 20s
-
(Locked)
Bind a list to a user control5m 46s
-
(Locked)
Delegates and lambda expressions4m 36s
-
(Locked)
Customize a method with predicate functions5m 21s
-
(Locked)
Quick look at other collection classes4m 28s
-
(Locked)
-
-
-