samedi 5 août 2017

Get names of properties which are not null

I get a Properties of some object

var properties = typeof(T).GetProperties() .Select(x => x.Name) .ToList()

How can i get names of the properties, which values are not null?

And how can i get thoose values?





Aucun commentaire:

Enregistrer un commentaire