Тёмный

C# | Factory Design Pattern Implementation 

Code Radiance
Подписаться 14 тыс.
Просмотров 13 тыс.
50% 1

In this video, I have demonstrated how the Factory Pattern can be implemented in the C# language in its simplest form.
Source Code on GitHub: github.com/Nitij/FactoryPattern
----------------------------------------------------------------------
Please Like and Share the video if you think it is helpful for you.
Also please take a moment to subscribe to my channel to show your support and to be the first to know about the new video updates.
Feel free to use the comments section for questions, suggestions or just to say Hi :)
----------------------------------------------------------------------

Наука

Опубликовано:

 

5 окт 2018

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@CodeRadiance
@CodeRadiance 4 года назад
Thanks for all the support and watching this video! Please don't forget to SUBSCRIBE! New videos every week!
@apurvsingh1985
@apurvsingh1985 2 года назад
Underrated channel. Great content!
@expertreviews1112
@expertreviews1112 5 лет назад
hey, that's a very good video. Thanks a bunch!
@nielsSavantKing
@nielsSavantKing 2 года назад
Good example. But I don't like the inheritance way with virtual. It is better to have composition.
@dhrovyajain6266
@dhrovyajain6266 5 лет назад
That is so nicely explained...I request you to please upload a demonstration on Abstract Factory Design Pattern...
@CodeRadiance
@CodeRadiance 4 года назад
Will try to do that!
@tomdilen7062
@tomdilen7062 3 года назад
by the spelling mistake, the following is very helpful... by example... you have this enum enum TestEnum { test1, test2, test3, test4 } you typewrite "sw" then you 2 times the tab-key visual studio generate this: switch (switch_on) { default: } now where is "switch_on" you typewrite "TestEnum" and pres Enter visualstudio generate this for you switch (TestEnum) { case TestEnum.test1: break; case TestEnum.test2: break; case TestEnum.test3: break; case TestEnum.test4: break; default: break; }
@khrangrok
@khrangrok 3 года назад
I just have to ask, why did you use String vs string, and Int32 vs int?
@CodeRadiance
@CodeRadiance 3 года назад
Well normally there is no difference. I guess it's just my habit which is changing fast.
@khrangrok
@khrangrok 3 года назад
@@CodeRadiance No worries. It just scared me and reminded me of Java. Take care and thanks for the video.
@MartinVit1997
@MartinVit1997 3 года назад
it is recommended to use int instead of Int32, string instead of String and so on
@CodeRadiance
@CodeRadiance 3 года назад
Old habits die hard.
@nirmodkumar1814
@nirmodkumar1814 5 лет назад
nice demonstration but font size on visual studio must be increased in the next video.
@nirmodkumar1814
@nirmodkumar1814 5 лет назад
thanks, Nitij
@dcl525
@dcl525 3 года назад
Aren't public variables a no go? I was under the impression these should always be properties.
@SsoulBlade
@SsoulBlade 3 года назад
perhaps he wanted to make it simple for the lowest denominator to understand?
Далее
Hamster Kombat 20 July Mini Game
00:13
Просмотров 10 млн
Design Patterns: Factories
25:26
Просмотров 54 тыс.
I Melted Wood With Friction
8:44
Просмотров 652 тыс.
C# Observer Pattern Example
14:10
Просмотров 31 тыс.
Design Patterns in Plain English | Mosh Hamedani
1:20:01
Factory Design Pattern Introduction
22:43
Просмотров 275 тыс.
CppCon 2014: Mike Acton "Data-Oriented Design and C++"
1:27:46
Samsung laughing on iPhone #techbyakram
0:12
Просмотров 646 тыс.