public static void Main()
var meuModel = new MeuModel { Campo1 = "a" };
Type type = meuModel.GetType();
foreach(var prop in meuModel.GetType().GetProperties())
Console.WriteLine($"{prop.Name}={prop.GetValue(meuModel, null)}");
texto += prop.GetValue(meuModel, null) + " ";
Console.WriteLine(texto);
public string Campo1 { get; set; }
public string Campo2 { get; set; }
public string Campo3 { get; set; }
public string Campo4 { get; set; }
public string Campo5 { get; set; }
public string Campo6 { get; set; }
public string Campo7 { get; set; }
public string Campo8 { get; set; }
public string Campo9 { get; set; }
public string Campo10 { get; set; }