Hi,
Somewhere low-level, probably MSIL, each property's get and set accessors
string Text { get; set; }
resolve to a pair of methods:
string get_Text(); void set_Text(string value);
afaik.
Is it possible to access these methods
as delegates in C# based on a
Linq-Lambda Expression such as:
"type => type.Text" or 2nd best a PropertyInfo?
Background is avoiding non-typesafe and probably slow
reflection based code that uses GetGetMethod and GetSetMethod
and Invoke respectively.
Thanks,
Chris