Answers for "c# foreach property in object and property of property"

C#
0

for each property in object c#

foreach (PropertyInfo propertyInfo in obj.GetType().GetProperties())
{
   // do stuff here
}
Posted by: Guest on April-24-2020

Code answers related to "c# foreach property in object and property of property"

C# Answers by Framework

Browse Popular Code Answers by Language