The Singleton Pattern in C#. How to Use It...But Should You???

preview_player
Показать описание
It's time to dig into some C# design patterns, and my first design pattern video is all about the Singleton Pattern.

It's a common pattern for C# and other .NET developers, as well as for developers working with other object oriented languages like Java.

In this tutorial, I'm going to demonstrate how you can create a singleton in C# but I will also pose the question, when should you use it?

#csharp #dotnet #softwaredevelopment
Рекомендации по теме
Комментарии
Автор

Informative, could you please do a video on dependency injection?

gokulanilkumar
Автор

Nice video, however text size (or zoom level) was too small.

goranhalfvarson