using System.Collections.Generic;
public static void Main()
Product product = new Product();
Console.WriteLine( NameOfArray(new{ product.Indicators, product.ProductComputeParams, product.ProductDetails }));
public static string NameOfArray(object toDisplay)
List<string> values = new List<string>();
foreach (var pi in toDisplay.GetType().GetProperties())
return string.Join(",", values);
public object Indicators {get; set;}
public object ProductComputeParams {get; set;}
public object ProductDetails {get; set;}
public object ProductRecallValues {get; set;}