In this Video we will learn static class in C# and when to use static class in C#.
Benefits,features and difference between static and non-static class.
Q: What is Static Class ?
The class which is created by using the static modifier is called a static class. A static class can contain only static members in it. It is not possible to create an instance of a static class.
C# Static Class Features
The static class in c# will contain only static members.
In c#, the static classes cannot be instantiated.
C# static classes are sealed, therefore it cannot be inherited.
The static classes in c# will not contain instance Constructors.
Don't forget to subscribe to "CoreProgramm" !
Website : https://www.coreprogramm.com/
Facebook : / coreprogramm
Twitter : / coreprogramm
Instagram : / thecoreprog. .
Github : https://github.com/CoreProgramm
Смотрите видео Static Class in C# | When to use static classes in C# || CoreProgramm онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Jayant Tripathy 18 Сентябрь 2019, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 13,737 раз и оно понравилось 113 людям.