I have a class:
public class foo { public IEnumerable stst_soldToALTKN { get; set; } public int sId { get; set; } public strin
You could try
var propertyNames = foo1.GetType() .GetProperties() .Select(x => x.Name).ToList();