Answers for "foreach in object c#"

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

C# Answers by Framework

Browse Popular Code Answers by Language