C# generics allow users to define classes and methods with a placeholder type. This provides amazing code re-usability while still retaining type safety.
In this video, I'll teach you what generics are, how to use them and provide a few real-world use cases to get your head around them.
I use game-like examples so you can see how you would use generics in your Unity development 🎮
❤️ Become a Tarobro on Patreon: / tarodev
=========
🔔 SUBSCRIBE: https://bit.ly/3eqG1Z6
🗨️ DISCORD: / discord
✅ MORE TUTORIALS: / tarodev
0:00 What are generics
1:20 Writing a generic class
11:36 Generic Type creation
15:13 Generics and Interfaces