Static Class in C# | When to use static classes in C# || CoreProgramm

Published: 18 September 2019
on channel: Jayant Tripathy
13,737
113

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


Watch video Static Class in C# | When to use static classes in C# || CoreProgramm online without registration, duration hours minute second in high quality. This video was added by user Jayant Tripathy 18 September 2019, don't forget to share it with your friends and acquaintances, it has been viewed on our site 13,737 once and liked it 113 people.