Answers for "return the value of a dynamic object c#"

C#
1

c# dynamic object get value

var nameOfProperty = "property1";
var propertyInfo = myObject.GetType().GetProperty(nameOfProperty);
var value = propertyInfo.GetValue(myObject, null);
Posted by: Guest on November-21-2019

Code answers related to "return the value of a dynamic object c#"

C# Answers by Framework

Browse Popular Code Answers by Language