class
class is a user defined data type it can contain following item into it.
1.data field
2.constructor.
3.destructor.
4.property.
5.member function.
6.indexer.
7.delegate.
8.event.
9.attribute.
Theory of class.
1.Within class theory.
2.outside class theory.
=>To access member of class within same class is apart of within class theory.
In within class theory there is no role of any access specifier.
=>Outside of class exisibility of member is covered under outside theory.
class is a user defined data type it can contain following item into it.
1.data field
2.constructor.
3.destructor.
4.property.
5.member function.
6.indexer.
7.delegate.
8.event.
9.attribute.
Theory of class.
1.Within class theory.
2.outside class theory.
=>To access member of class within same class is apart of within class theory.
In within class theory there is no role of any access specifier.
=>Outside of class exisibility of member is covered under outside theory.
No comments:
Post a Comment