Getting property and method names using static reflection in C#
For several years I’ve had a little “utility” function that I’ve used in several projects that I use to convert property names into strings. The method uses "static reflection" to figure out the name of a property that the lambda expression returns the value of.