background top icon
background center wave icon
background filled rhombus icon
background two lines icon
background stroke rhombus icon

Download "Основы C# - #2 - Основные принципы ООП"

input logo icon
Video tags
|

Video tags

c#
ООП
c sharp
.net
основы c#
уроки по c#
объекты c#
классы c#
Loftblog
loft blog
лофтблог
лофт блог
урок
курс
образование
обучение
видеоурок
верстка
программирование
вебинар
интервью
новости web
web
веб
frontend
backend
фронтенд
бэкенд
html
css
js
php
lesson
programming
training
courses
сайт
верстка сайта
администрирование
сделать сайт
приложения на телефон
свое приложение
вебпрограммист
csharp
Subtitles
|

Subtitles

subtitles menu arrow
  • ruRussian
Download
00:00:02
loftblog channel,
00:00:03
my name is give today we will talk about
00:00:05
fundamental techniques of op. there
00:00:07
are three of them in total inheritance
00:00:10
encapsulation and polymorphism inheritance
00:00:13
is a mechanism that allows you to use
00:00:15
the functionality of the parent class in a sensor let's
00:00:18
look at a simple example let's assume you
00:00:21
are making a game in which there are different
00:00:24
characters say urc and a dragon an orc must
00:00:27
be able to walk, jump and run a dragon
00:00:30
must also be able to walk, jump and
00:00:32
run but In addition, he must also be
00:00:35
able to fly. If we do not
00:00:37
use the inheritance mechanism, then
00:00:39
we will have to write three identical
00:00:42
functions in each character class. In the
00:00:45
case of inheritance, we can create a
00:00:47
base class and
00:00:48
write in it the abilities inherent in
00:00:51
both characters; in this case, running,
00:00:54
jumping and walking, and in in child classes,
00:00:57
indicate only the individual
00:00:59
abilities of each dragon, this
00:01:01
ability to fly, but the orc
00:01:04
does not have them at all, thanks to this it will become less and
00:01:07
much simpler in our case, the difference
00:01:10
is small, but if you
00:01:12
need to create not two but 20 such characters,
00:01:15
inheritance will
00:01:16
significantly simplify the work and if more than 20
00:01:20
for example 200 then this is generally simply
00:01:23
necessary in order to avoid
00:01:25
incredible confusion the next principle
00:01:28
is encapsulation this principle
00:01:31
allows you to limit the access of some
00:01:33
program components to others and
00:01:36
this is necessary in principle also in order to
00:01:38
avoid confusion this
00:01:39
principle is implemented using
00:01:41
special access modifiers for
00:01:43
all of them there are four public
00:01:46
internal protected and ruled by public this is a
00:01:51
completely open access modifier, a
00:01:53
component marked with this
00:01:55
modifier will be available
00:01:57
anywhere in the program; moreover, it will be
00:02:00
available even outside of it in other
00:02:02
assemblies and programs internal this is a
00:02:05
partially closed modifier; components
00:02:07
marked with this modifier will be accessible only inside the
00:02:10
data program
00:02:12
protector is, say, a partially
00:02:14
open access modifier;
00:02:16
components with this modifier will be
00:02:19
available only in the class where
00:02:21
they were declared, and in the children of this
00:02:25
class, and finally, the most closed
00:02:28
modifier will reveal its owner; they
00:02:31
will be available only in the class where
00:02:33
they were declared.
00:02:35
Now let's look at the third and last
00:02:38
fundamental principle of
00:02:39
object-oriented
00:02:40
programming - this is polymorphism,
00:02:44
the word polymorphism itself is of Greek
00:02:46
origin and is literally translated as a
00:02:48
variety of forms, and I must say this
00:02:51
translation largely reflects the real
00:02:53
use of this principle in simple
00:02:56
words, polymorphism is the ability of
00:02:58
functions to process different types of
00:03:00
arguments for this principle there are
00:03:03
several types, the most different
00:03:06
from each other is parametric
00:03:08
polymorphism and this is a hook polymorphism
00:03:11
parametric polymorphism
00:03:12
involves executing the
00:03:15
same block of code for different types of
00:03:17
arguments
00:03:18
and this is a hook polymorphism for each type of
00:03:21
argument executes different blocks of code well that’s
00:03:24
all for today we are in general Basically,
00:03:26
we got acquainted with the fundamental
00:03:28
principles of object-oriented
00:03:30
programming in the following lessons we will
00:03:32
analyze each principle in detail,
00:03:34
we will separately talk about various nuances and
00:03:37
analyze in practice programs
00:03:39
that use these principles you watched the
00:03:42
course on the basics of sysharp on the loftblog channel
00:03:44
my name is Dani see you again

Description:

Пройди БЕСПЛАТНО профориентацию в IT - https://loftschool.com/free/career/ Введение в основные принципы объектно ориентированного программирование: Наследование, Инкапсуляцию и Полиморфизм. Полезные ссылки: Скачать Visual Studio - https://visualstudio.microsoft.com/downloads/ Канал автора - https://www.youtube.com/channel/UCZO9yIj-TTkJuUkpiSbxo6w Не ограничивай себя видеоуроками на YouTube! Узнавайте еще больше полезной информации! Общайтесь с опытными разработчиками, преподавателями и развивайся через личное общение! Школа онлайн-образования: https://loftschool.com/ Telegram: https://telegram.me/loftblog Slack: http://slack.loftblog.ru/ Сайт: https://loftschool.com/ Instagram: https://www.facebook.com/unsupportedbrowser Группа вконтакте: http://vk.com/loftblog Facebook: https://www.facebook.com/unsupportedbrowser Twitter: http://twitter.com/loft_blog Больше уроков от lofblog: #loftblog Все уроки по хештегу: #loftblogCSharp Полезные уроки для веб-программиста: ----------------------------------------------------------------------------------- Не забываем, что самый лучший способ сказать "спасибо" - нажать кнопку "нравится" и скинуть ссылку на урок друзьям. Ничто другое так сильно не мотивирует автора продолжать работу :)

Preparing download options

popular icon
Popular
hd icon
HD video
audio icon
Only sound
total icon
All
* — If the video is playing in a new tab, go to it, then right-click on the video and select "Save video as..."
** — Link intended for online playback in specialized players

Questions about downloading video

mobile menu iconHow can I download "Основы C# - #2 - Основные принципы ООП" video?mobile menu icon

  • http://unidownloader.com/ website is the best way to download a video or a separate audio track if you want to do without installing programs and extensions.

  • The UDL Helper extension is a convenient button that is seamlessly integrated into YouTube, Instagram and OK.ru sites for fast content download.

  • UDL Client program (for Windows) is the most powerful solution that supports more than 900 websites, social networks and video hosting sites, as well as any video quality that is available in the source.

  • UDL Lite is a really convenient way to access a website from your mobile device. With its help, you can easily download videos directly to your smartphone.

mobile menu iconWhich format of "Основы C# - #2 - Основные принципы ООП" video should I choose?mobile menu icon

  • The best quality formats are FullHD (1080p), 2K (1440p), 4K (2160p) and 8K (4320p). The higher the resolution of your screen, the higher the video quality should be. However, there are other factors to consider: download speed, amount of free space, and device performance during playback.

mobile menu iconWhy does my computer freeze when loading a "Основы C# - #2 - Основные принципы ООП" video?mobile menu icon

  • The browser/computer should not freeze completely! If this happens, please report it with a link to the video. Sometimes videos cannot be downloaded directly in a suitable format, so we have added the ability to convert the file to the desired format. In some cases, this process may actively use computer resources.

mobile menu iconHow can I download "Основы C# - #2 - Основные принципы ООП" video to my phone?mobile menu icon

  • You can download a video to your smartphone using the website or the PWA application UDL Lite. It is also possible to send a download link via QR code using the UDL Helper extension.

mobile menu iconHow can I download an audio track (music) to MP3 "Основы C# - #2 - Основные принципы ООП"?mobile menu icon

  • The most convenient way is to use the UDL Client program, which supports converting video to MP3 format. In some cases, MP3 can also be downloaded through the UDL Helper extension.

mobile menu iconHow can I save a frame from a video "Основы C# - #2 - Основные принципы ООП"?mobile menu icon

  • This feature is available in the UDL Helper extension. Make sure that "Show the video snapshot button" is checked in the settings. A camera icon should appear in the lower right corner of the player to the left of the "Settings" icon. When you click on it, the current frame from the video will be saved to your computer in JPEG format.

mobile menu iconWhat's the price of all this stuff?mobile menu icon

  • It costs nothing. Our services are absolutely free for all users. There are no PRO subscriptions, no restrictions on the number or maximum length of downloaded videos.