Dot Net
Wednesday, 7 December 2011
What is a static class?
Static classes are classes that do not contain instance members other than those inherited from Object, and do not have a callable constructor.
The members of a static class are accessed directly
without an instance of the class.
Example
Console.WriteLine ("I Do not need any instances")
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment