There is a whole wealth of reflection examples out there that allow you to get either:
1. All properties in a class
2. A single property, provided you kn
With C# 6.0 (Visual Studio 2015), you can now use the nameof operator, like this:
nameof
var obj = new MyObject(); string propertyName = nameof(obj.Property); string methodName = nameof(obj.Method); string directPropertyName = nameof(MyObject.Property); string directMethodName = nameof(MyObject.Method);