Expression based Property Getters and Setters [Technical Blog]
Posted: 28 Apr 2013
Updated: 29 Apr 2013
Views: 4,101
Rating: 5.00/5
Votes: 2
Popularity: 1.51
Licence: The Code Project Open License (CPOL)
Bookmarked: 7
Downloaded: 45
CodeProject Many times I need to get or set properties on a class dynamically, i.e. not knowing their exact names at the compile times. Usually I was doing it using System.Reflection API’s PropertyInfo class. This class provides GetValue() and SetValue methods that allow extrating or setting a