lundi 8 mai 2017

How do i sort a list of nested objects in C#?

I have a list of objects with nested objects. Ex.

[{
   serial,
   transmitter
   {
      State,
      City
   },
  date

},
{
   serial,
   transmitter
   {
      State,
      City
   },
  applicationDate
}
]

I need to sort the above object by the State. I have the string "transmitter.State"

Thanks in advance





Aucun commentaire:

Enregistrer un commentaire