=> A class can be declared static indicating that it contains only static members. It is not possible to create instance of a static class using the new keyword. Static class are loaded automatically by the .Net framework common language run time(CLR).
The main feature of static class is :-
The main feature of static class is :-
- They only contain static members.
- They can't be instantiated.
- They are sealed.
- They can't contain Instance constructor.
0 comments:
Post a Comment