C# Extension Methods

Описание к видео C# Extension Methods

Extension methods grant you the ability to extend classes you might not own without deriving from the class or modifying the original type. Add methods to any class and access them like you would any native instance method.

Perfect for extending base unity types, like Vector and SpriteRenderer.



❤️ Become a Tarobro on Patreon:   / tarodev  

=========

🔔 SUBSCRIBE: https://bit.ly/3eqG1Z6
🗨️ DISCORD:   / discord  
✅ MORE TUTORIALS:    / tarodev  


0:00 What are extension methods?
1:00 Our first extension method
3:10 Extending the list class
5:43 Extending the string type
7:00 Extension method call priority
9:15 Useful extension methods

Комментарии

Информация по комментариям в разработке