I have a class that I'd like to be generic in that I can specify the property to retrieve from the object at runtime. The reason for this is that we have a database table accessed via Entity Framework that has many columns such as,
- table.name1
- table.name2
- table.name3
 .
 .
 .
Terrible legacy table notwithstanding, I'd like to do something similar to the following while allowing for either indexing or straight-out specifying the object property.
public string Name
{ 
    get { return name<#>; } 
}
Thanks!
