Wednesday, 28 September 2011

Static Types in

Classes (but not structs) can be declared as static. A static class can contain only static members and cannot be instantiated with the new keyword. One copy of the class is loaded into memory when the program loads, and its members are accessed through the class name. Both classes and structs can contain static members.

No comments:

Post a Comment

Please Give Your Valuable Comments on this Topic