Value & Reference types in C#. Write Better Code!
Value vs reference types. Stack vs heap. These are fundamental concepts to understand if you wish to write performant code. Learn the characteristics of value and reference types and how they're allocated to memory. Learn how StackOverflowException occurs and how to fix and prevent them.
❤️ Become a Tarobro on Patreon: https://www.patreon.com/tarodev
=========
🔔 SUBSCRIBE: https://bit.ly/3eqG1Z6
🗨️ DISCORD: https://discord.gg/tarodev
✅ MORE TUTORIALS: https://www.youtube.com/tarodev
0:00 - whatever, intro I guess
0:37 - value types / structs
2:00 - reference type / class
3:00 - stack & heap
3:27 - stack example
5:57 - heap example
8:47 - when to use one over the other
11:30 fix StackOverflowException
13:15 - Bonus: strings
Видео Value & Reference types in C#. Write Better Code! канала Tarodev
❤️ Become a Tarobro on Patreon: https://www.patreon.com/tarodev
=========
🔔 SUBSCRIBE: https://bit.ly/3eqG1Z6
🗨️ DISCORD: https://discord.gg/tarodev
✅ MORE TUTORIALS: https://www.youtube.com/tarodev
0:00 - whatever, intro I guess
0:37 - value types / structs
2:00 - reference type / class
3:00 - stack & heap
3:27 - stack example
5:57 - heap example
8:47 - when to use one over the other
11:30 fix StackOverflowException
13:15 - Bonus: strings
Видео Value & Reference types in C#. Write Better Code! канала Tarodev
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Unity async / await: AwaitableUI Toolkit Primer - Build UIs like a ProgrammerDon't make grids without knowing THIS in UnityHow To Render 2 Million Objects At 120 FPSCloud Save should be in EVERY game (full project source code)10 Things You NEED to Be Doing in UnityUnity Collision Cheat-Sheet – Discrete vs ContinuousHow to setup Global Matchmaking for UnityAnimate like a ProgrammerHow to: Unity Online MultiplayerSine Waves VisualizedProject Initialization - Unity ArchitectureLocal Functions in C# - Stay Inside MeCreating a hyper casual game in 3 hoursUnity tips to improve your efficiencyCreate a server for your Unity game using .NET Core (Part 2)Create a server for your Unity game using .NET CoreC# Events & DelegatesUnity Code Optimization - Do you know them all?Gaming Backend (leaderboard, inventory, guilds and more)