У нас вы можете посмотреть бесплатно Let's Talk - Always use the "as" operator - No Thank you или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
The Standard guidance is to use the "as" operator anytime we need to do a cast, because it is safer (doesn't throw and exception). But it is wise to give up security for safety? Maybe the "as" operator gives us a false sense of security. Maybe, we should be using the cast expression almost always unless we don't know for sure if a certain type can be cast to the required type? Using the cast expression certainly expresses our intent clearly. In this video, I make a case for why we should be using the cast expression in many cases where most folks will use the "as" operator, making our code more robust and less buggy. Some of the code shown in this video comes from this project: https://github.com/matlus/MovieServic...