Hi,
is there any way in .Net 2.0 to retrieve a property name from delegate?: i => i.Name
When I call: var property = MyMethod(i => i.Name);
I want MyMethod to return string "Name". So the value of 'property' should be "Name".
In .Net 3.5 there is simply way to do that (Expression Tree), but I have to use 2.0 Framework only.
Chris