The class which is decorated with the static keyword is a static class. A static class cannot be initialized using the new keyword. A static class can only contain static members instance members are not allowed in static class.
source https://www.c-sharpcorner.com/Blogs/all-about-static
No comments:
Post a Comment