C# Generics - What they are, why they are useful, and how to create them
Have you ever used a List of T and wondered what the T meant? Or maybe you heard the term generics but you did not really know what that was or why it was important. Maybe you have been using generics for a while but didn’t know you could create your own. Whatever the case, this video is for you. In this video, I am going to lay the foundation of what generics are and what makes them so powerful. Then, we will look at a demonstration I have set up on how you can keep your code dry, better conform to the SOLID principles, and make your life easier by implementing generics a class.
Source Code:
Patreon:
Newsletter signup:
0:00 - Intro
1:33 - Creating a List of T
4:03 - Why not to use ArrayList and why generics are useful
11:10 - Demo app walk through pt1
22:56 - The problem: repetition
28:55 - Solving the repetition with generics; Demo application walk through
1 view
8
2
2 months ago 00:15:39 1
Судьба США // астрологический прогноз
3 months ago 00:35:12 1
Disney’s TaleSpin (NES) Playthrough
3 months ago 00:01:05 9
Comptine “C’est l’automne“
3 months ago 00:01:44 1
Francis and Ellis Community voicelines
3 months ago 00:03:11 1
Last castrato Alessandro Moreschi sings in a quartet. La cruda mia nemica (Palestrina) - 1904
3 months ago 09:01:55 1
The Elder Scrolls V: Skyrim + Dawnguard + Dragonborn | Video Game Soundtrack (Full OST)
3 months ago 00:02:27 1
fc 25 mods Unlock All Managers Mod
3 months ago 00:01:42 146
Because Maybe Pt.3 RAGEQUIT
3 months ago 01:13:58 1
HAARP - Armă de control climatic şi manipulare mentală? | Adevar sau Conspiratii | Ep. 2 | Podcast
3 months ago 00:21:52 1
THEY BETRAYED YOU: Every 8 Mins a Pensioner Dies In Poverty In The Uk
3 months ago 00:27:18 3
Vocal Fry: what it is, who does it, and why people hate it!
3 months ago 00:13:47 1
A simple envelope trick that will change your patches