SyntaxFix
Write A Post
Hire A Developer
Questions
Reflection can help you.
var someObject; var propertyName = "PropertyWhichValueYouWantToKnow"; var propertyName = someObject.GetType().GetProperty(propertyName).GetValue(someObject, null);