Suppose I have:

```
class Person
{
[ColumnAttribute("ID"]
    public int Id;
[ColumnAttribute("Name"]
public string Name;
[ColumnAttribute("DateOfBirth"]
    public date BirthDate;
}

```

i want to create a method that will be called as following

```
GetPropertyColumn<Person>(e=>e.Name)

```

this method will return a string that is defined by the ColumnAttribute attribute.  

the problem is that i am not able to define this method.
i tried

```
public string GetPropertyColumn<T,U>(Expression<Func<T, U>> Lamda)

```

but the problem is that i can only specify the T and not the U so its not working.  

any help?  

thanks

Edit:
-----

thanks for the answers but i got a lot of answers in which you need to instantinate Person but i dont want to.  

because i only want to know the column given a property defined inside a Class.