|
-
June 14th, 2002, 05:57 AM
#1
usage of custom attributes
There is an attribute class X that can be applied at class level. This attribute has been applied to a class Y. When the class is instantiated, the attribute applied to the class also created.
Now, my question is, why cant we directly create an instance in your class Y? What is difference between creating an instance of a class explicitly and applying attribute over the class?
Or Is there anyother concept behind writing attribute classes apart from this?
Thanx in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|