Tarodev | C# Generics - The complete guide @Tarodev | Uploaded November 2021 | Updated October 2024, 12 minutes ago.
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: patreon.com/tarodev
=========
🔔 SUBSCRIBE: bit.ly/3eqG1Z6
🗨️ DISCORD: discord.gg/tarodev
✅ MORE TUTORIALS: youtube.com/tarodev
0:00 What are generics
1:20 Writing a generic class
11:36 Generic Type creation
15:13 Generics and Interfaces
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: patreon.com/tarodev
=========
🔔 SUBSCRIBE: bit.ly/3eqG1Z6
🗨️ DISCORD: discord.gg/tarodev
✅ MORE TUTORIALS: youtube.com/tarodev
0:00 What are generics
1:20 Writing a generic class
11:36 Generic Type creation
15:13 Generics and Interfaces