C#C
C#3y ago
SWEETPONY

❔ It it possible to get name of attribute without reflection?

I have following:
public class Book
{
    [CustomAttribute]
    public string Name
    {
        get; private set; 
    }
}

is it possible to get the name of CustomAttribute? with type.GetCustomAttribute?
Was this page helpful?