У нас вы можете посмотреть бесплатно Make Any Type Nullable & Prevent Null Errors! | Unity, C# или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
Nullables in C# help you prevent null reference exceptions and allow you to set the value of a variable of any type to null. This can be beneficial in many cases where you want to explicitly specify that a variable may be null. While using nullables you will also be warned at compile-time about any variables or values that could be null. Even though there are many benefits to using nullables, you still have to be careful when using them as it can increase the complexity of your code. 👍 Like and 🔔Subscribe for More Unity and C# Tutorials / @freedomcoding 🌟 Support My Work and Unlock Exclusive Content! 🌟 👉 YT Membership: / @freedomcoding 🌟 Patreon: / freedomcoding 🎮 Join Our Developer Community! 💬 Discord: / discord 💖 Support Me Financially ☕ PayPal, Revolut: [email protected] Website - https://www.freedom-coding.com Nullable Analysis - https://learn.microsoft.com/en-us/dot... Timestamps: 00:00 What Are Nullables? 00:21 Creating Nullable Variables 00:51 Enabling Null Warnings 01:54 Basics + Conditional & Suppression Operator 04:40 Example #1 (best time) 06:40 Example #2 (language selection) 07:38 Example #3 (get rigidbody) 08:15 Should You Use Nullables? 08:38 Nullable Analysis 10:00 Pros & Cons