Click here to hide categories Click here to show left categories

User: Home          welcome : Guest          Log In / Register here     




What is use of static class

Static class can make your implementation simpler and faster because you do not have to create an object in order to call its methods. It is useful to organize the methods inside the class in a meaningful way, such as the methods of the Math class in the System namespace.
    
    Static classes only contain static members.
    Static classes can not be instantiated. They cannot contain Instance Constructors
    Static classes are sealed

Share this article   |    Print    |    Article read by 1922 times
Author:
Guest
Guest user is that user who have done some activity on website without login. Activity contains commenting on any article, uploading an image on website etc.
Related Articles:
Related Interview Questions: