B
Ben
Hi all,
I'm a little bit consfused as to when to use each of these options.
For example, if i want to decorate a class with some information,
I could decalre a const or read only field and have this information both at
run time and write time (compile time
), just like an attribute. And another
option is to use a marker interface to mark (decorate it).
So, when exactly should I use attributes?
I'm probably missing something here.
Thanks,
Ben
I'm a little bit consfused as to when to use each of these options.
For example, if i want to decorate a class with some information,
I could decalre a const or read only field and have this information both at
run time and write time (compile time
![Wink ;) ;)](/styles/default/custom/smilies/wink.gif)
option is to use a marker interface to mark (decorate it).
So, when exactly should I use attributes?
I'm probably missing something here.
Thanks,
Ben