Answers for "c# dynamic object get value"

C#
0

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

C# Answers by Framework

Browse Popular Code Answers by Language