Let's say I have class

```
class A 
{
    [Attribute1]
    [AttributeN]
    bool Prop {get;set;}

}

void Main ()
{
    A a;
    var attrs = GetAttributes(a.Prop);
}

```

Which is the best way to implement function GetAttributes?

Thanks a lot

EDIT:
Let me be more specific, I know that need to use reflaction 
1. I don;t watn to use string as method name
2. it should not depend from type, should be generic function 

```
function GetAttr<...>(...)
{
    ....
    typeof(<get from param>).GetMethod(<figure out from parameters>).GetAttributes()
}

// Ideally I want to call GetAttr like below 
A1 a1
GetAttr(a1.Prop1)

B2 b2
GetAttr(b2.Prop2)

```