• Post category:StudyBullet-14
  • Reading time:10 mins read


Using ASP.NET Core learn the major collection classes in C#

What you will learn

Students will learn collection classes: non-generic, generic, concurrent and specialized collections in C#.

They will be learning the concept of threading, multi-threaded applications and asynchronous programming.

Students will also get hands-on exposure on coding and testing in collection classes.

Students will be able to get information on the types used in a generic data type at run-time by reflection.

They will grasp the concepts of collection classes and their application in real life scenarios through C# code.

They will learn object oriented concepts of interface and abstract class .

As a bonus, students will build a windows form application where they will apply the collection class concepts

Students will learn to build a CRUD app using Microsoft SQL server and C# that relates to generic collection classes

Students will learn the application of generic constraints.

Description

This course has very recently been updated to contain two brand new sections on HashSet<T> and SortedSet<T> with a total of five additional lectures introducing the section topics and offering extensive practical code base coverage over these sections.


Get Instant Notification of New Courses on our Telegram channel.


This course covers the Non-Generic, Generic, Concurrent and Specialized Collection classes in C#. The course includes important concept building topics in Reflection, Multi-threaded applications (with thread safety), Asynchronous Programming and Object-Oriented concepts of Interfaces and Abstract Class that the students need to grasp in order to get the full benefits from the course. Several coding exercises, an assignment, and a mini-project are aimed to keep the students engaged with the contents. These exercises are also means of self-assessing the progress with the course. A number of bonus articles and lectures have been added to enhance the learning process in related technologies.

English
language

Content

Course Introduction

Introduction to the course
A note on string interpolation and var keyword
Downloading and Installation of Visual Studio

Introduction to C# Collections

Introduction to Collections and their Objectives
A Note to Students on Udemy Rating System

Essential Concepts to Learn

An Introduction to Interfaces in C#
Abstract classes in C#
Abstract Classes Code Project
Introduction to Reflection in C#
Reflection-Accessing Metadata Information
Early and Late Binding Using Reflection

Non-Generic Collection Classes (ArrayList)

Section Introduction
Arrays and Non-Generic Classes
ArrayList Properties and Methods
ArrayList Methods
More ArrayList Methods and Partial Class Usage
Coding Exercise Overview
Coding Exercise Solution Walkthrough

Non-Generic Collection Classes (HashTable)

Hashtable in C#
Hashtable methods
More Hashtable Properties and Methods

Bonus: Create and Use a Windows Form Application for Managing Collections

Create a Windows Form Application With Controls – Part 1
Extend the Windows Form Application and Code a Button Event Handler – Part 2
Conclude Windows Form Application and Code the Button Click Events – Part 3

Introduction to Generics and Generic Collection Classes

Fundamentals of Generics

Generic Collection Classes (List<T>)

List<T> Introduction
List<T> Use of Some Common Methods – Part 1
List<T> Use of Some Common Methods – Part 2
List<T> Use of Some Common Methods – Part 3
List<T> Count and Capacity Properties
Exercise 1
Bonus Ex 1: Create a Console Text File Processor Application (Without Generics)
Bonus Ex 2: Modify the Text File Processor to Use Generics and Reflection
Creating a CRUD application with List<T> and Microsoft SQL Server – Part 1
Creating a CRUD application with List<T> and Microsoft SQL Server -Part 2

Generic Collection HashSet<T> Class

Introduction to HashSet<T> Generic Collection Class
HashSet<T> Hands on Coding with Commonly Used Methods – Part 1
HashSet<T> Hands on Coding with Commonly Used Methods – Part 2

Generic Collection SortedSet<T>

Introduction to SortedSet<T> Generic Collection Class
SortedSet<T> Learning Some Special Methods

Generic Collection Classes (Dictionary)

Introduction to Dictionary<TKey, TValue> Class
Dictionary Class – Add Method and Count Property
Dictionary Class – TryGetValue and Remove Methods
Converting an Employee Array and List Collection to Dictionary
Exercise 2

Queue<T> and Stack<T> Class

Introduction to Queues and Stacks – Generic Collection
Queue<T> Class – More Coding in Visual Studio
Stack<T> Class – An Examination with Examples
Stack<T> Class – More Coding in Visual Studio
Mini Project – Practical Application of Generic Queue Class
Mini Project – Coding, Debugging and Running the App

Generic Comparer Class for Sorting and Comparing Objects of User Defined Types

Comparer<T> Class for Sorting C# User Types
Comparer<T> Class for Comparing C# User Types

Performance Comparison Between Generic List<T> and Non-Generic ArrayList Class

Compare the Performance between List<T> and ArrayList Class with Demo App

Concurrent Collection Classes

Why and Where Concurrent Collections are Required? – Part 1
Why and Where Concurrent Collections are Required? – Part 2
Asynchronous Programming Fundamentals
ConcurrentBag<T> Collection Class
ConcurrentDictionary<T> Collection Class – Part 1
ConcurrentDictionary<T> Collection Class – Part 2
BlockingCollection<T> Collection Class – Part 1
BlockingCollection<T> Collection Class – Part 2

Specialized Collection Classes

Introduction to Specialized Collection with CollectionsUtil class Methods
StringCollection Class and Usage of the Class Methods – Part 1
StringCollection Class and Usage of the Class Methods – Part 2