Learn a difference between structs and classes in C#

Опубликовано: 17 Январь 2024
на канале: Developer Thing
545
14

In this YouTube video, I explain the differences between structs and classes in C#. Structs are value types on the stack, while classes are reference types on the heap. Using a simple "Dimension" struct, I show how structs don't support inheritance, explore constructors, and clarify that structs can't be set to null.


На этой странице сайта вы можете посмотреть видео онлайн Learn a difference between structs and classes in C# длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Developer Thing 17 Январь 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 545 раз и оно понравилось 14 зрителям. Приятного просмотра!