csharp reflection get property value array

Code Example - csharp reflection get property value array

                
                        Array a = (Array)propertyInfo.GetValue(data);
for(int i = 0; i< a.Length; i++)
{
  object o = a.GetValue(i);
}