A class is
also called a data structure. It consists of data members like constants,
fields and events and function members like methods, properties, indexers,
operators, constructors, static constructors and destructors. A class within a
class is called a nested class. Thus we can place 11 different types of
entities in a class. Function members are the only members of a class that
contain executable code. A class creation creates a new declaration space.
All classes
derive from object . Object is the mother of all classes.
No comments:
Post a Comment