T
Tony Johansson
Hello!
I have two questions about attribute.
If you want to associate an attribute with a class you put the attribute
just before the class definition.
Like this
[myAttribute()]
public class myClass
{//some code here }
I know that it's possible to associate an attribute with an assembly.
But if you want to associate an attribute with an assembly where do you put
the attribute then?
My second question about attribute is it the same if I write the attribute
like this
[myAttribute()]
or
like this
[myAttribute]
//Tony
I have two questions about attribute.
If you want to associate an attribute with a class you put the attribute
just before the class definition.
Like this
[myAttribute()]
public class myClass
{//some code here }
I know that it's possible to associate an attribute with an assembly.
But if you want to associate an attribute with an assembly where do you put
the attribute then?
My second question about attribute is it the same if I write the attribute
like this
[myAttribute()]
or
like this
[myAttribute]
//Tony