@Tarodev
  @Tarodev
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 - The complete guideHow to make a Homing Missile in Unity with Trajectory Prediction (source included)Floppy, physics-based sprites in UnityAnimate like a ProgrammerYou NEED to know this! - Master debugging in Unity & C#C# Extension MethodsSprite Shadows in Unity - Cast and receive shadows using a SpriteRendererLINQ + Lambda expressions - C# tutorialObject References in Unity - How to Communicate Between ScriptsCreate a grid in Unity - Perfect for tactics or turn-based games! Part 2How to setup Global Matchmaking for UnityResponsive Camera Design in Unity

C# Generics - The complete guide @Tarodev

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER